Skip to content

mchccn/butcanyoudoitintypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

well yes, but can you do it in types?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published