This is stars and forks stats for /micahhahn/elm-safe-recursion repository. As of 06 May, 2024 this repository has 16 stars and 1 forks.
Safe and elegant recursion in Elm This package provides tools to use recursion safely in elm without sacrificing the elegance of general recursion. Example Imagine we have a generic tree type that we want to write a map function for: type Tree a = Leaf a | Node (Tree a) (Tree a) The safe solution to implement a map function using this library would look like the following: mapTree : (a -> b) -> Tree a -> Tree b mapTree f initTree = runRecursion (\tree -> case tree...
Safe and elegant recursion in Elm This package provides tools to use recursion safely in elm without sacrificing the elegance of general recursion. Example Imagine we have a generic tree type that we want to write a map function for: type Tree a = Leaf a | Node (Tree a) (Tree a) The safe solution to implement a map function using this library would look like the following: mapTree : (a -> b) -> Tree a -> Tree b mapTree f initTree = runRecursion (\tree -> case tree...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
digital-asset/docs.daml.com | ShellNix | 6 | 0 | 2 | 0 |
eikek/sharry | ElmScalaNix | 626 | 0 | 44 | 0 |
mdgriffith/elm-codegen | ElmJavaScriptTypeScript | 131 | +1 | 13 | +1 |
solfacil/kali | NixElixir | 0 | 0 | 0 | 0 |
fraidev/tornado | OCamlStandard MLNix | 57 | 0 | 0 | 0 |
pta2002/nixvim | NixPython | 480 | 0 | 78 | 0 |
coq/opam-coq-archive | OCamlShellMakefile | 109 | 0 | 135 | 0 |
ruHaskell-learn/lhx | HaskellNix | 15 | 0 | 4 | 0 |
otobrglez/dojodis | ScalaNix | 27 | 0 | 2 | 0 |
aaronallen8455/breakpoint | HaskellNix | 41 | +3 | 1 | 0 |