Skip to content

Instantly share code, notes, and snippets.

@r-k-b
Last active August 31, 2020 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-k-b/0e2ecb63c4b46546b0f338f3266da4e9 to your computer and use it in GitHub Desktop.
Save r-k-b/0e2ecb63c4b46546b0f338f3266da4e9 to your computer and use it in GitHub Desktop.
the world needs more Elm!

Ordered roughly (and subjectively) most- to least-Elm-like.

Rust

  • Sum types ✓
  • No exceptions ✓
  • No shared mutable state(?) ✓
  • Exhaustive pattern matching ✓

Motoko

https://sdk.dfinity.org/docs/language-guide/motoko.html

Early days for this one, looks promising though.

  • Sum types ✓
  • No exceptions ✓
  • No shared mutable state ✓
  • Exhaustive pattern matching ✓

Haskell

  • Has exceptions ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment