A Sudoku solver in TypeScript's type system
A Sudoku solver in TypeScript's type system
GitHub: https://github.com/RuyiLi/cursed-typescript/blob/master/rand... Hi HN! I wrote a small file that solves sudoku puzzles at the type level - that is, entirely within TypeScript's type system, with no runtime code. To play with it, scroll down to the bottom (below where it says "BEGIN TESTING") and check out the examples. You can "run" the solver by hovering over the name of the type (e.g. SudokuEasySolved). Also, if you haven't seen it already, I did the same thing with Conway's Game of Life: https://news.ycombinator.com/item?id=37438028 :)
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Bookmarklet to Open Sudoku solver
A Quick Sudoku Solver
Visual Sudoku solver in the browser
A sudoku solver in pure Nix
Fastify-zod, type-once, run everywhere (TypeScript/OpenAPI)
A recursive Sudoku solver in JavaScript
type-kanren – type-level microKanren in TypeScript
I built an image-based logical Sudoku Solver
Type-level Lambda Calculus interpreter in TypeScript
OCR Sudoku Solver for Android