Code Monkey home page Code Monkey logo

butcanyoudoitintypes's Introduction

Yes, but can you do it in types?

A collection of challenges which you complete in solely the type system.

Everyone knows you can write code to do things, but can you write the same thing using only types?

Challenges are listed in the src/ directory:

  1. (★★☆☆☆☆) ReverseTuple
  2. (★★★☆☆☆) DeleteCharacter
  3. (★★★★☆☆) MiddleCharacter
  4. (★★☆☆☆☆) IncludesString
  5. (★☆☆☆☆☆) IsNotNumberLiteral
  6. (★☆☆☆☆☆) IsNever
  7. (☆☆☆☆☆☆) MakeExciting
  8. (★★★☆☆☆) PeriodsToUnderscores
  9. (★★★★★☆) MergeSort
  10. (★★★☆☆☆) NoOverlappingKeys
  11. (★★☆☆☆☆) IsEven
  12. (★★★☆☆☆) EachAsSingle
  13. (★★☆☆☆☆) SwapIndices
  14. (★★☆☆☆☆) SplitString
  15. (★★★☆☆☆) FirstFew
  16. (★★★★☆☆) RoughlyIncludes

Some common utility types you may use in your solutions are provided in src/utility:

Testing-related types and mock data can be found in src/common:

For easier browsing of the available challenges, visit the GitHub pages here.

butcanyoudoitintypes's People

Contributors

mchccn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

peter-afs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.