Commit d170b02b authored by Nicolas Lenz's avatar Nicolas Lenz

Update

parent 5e02f974
......@@ -38,6 +38,7 @@ Inspired by the Zen of Python principles, these are the general paradigms the la
- Basic stuff like `<$>` might still be okay, but then again, `<map>` really isn't that much longer (and maybe even easier to type).
- Prefer meaningful names in general (looking at you, Haskell!)
- do-notation?
- Sensible syntax for multiline strings
## Type System
......@@ -138,14 +139,6 @@ Debugging needs to be easy and comprehensive.
- Tracing option that outputs what functions were called with what values in what order, without changing the code
- Debugger with breakpoints?
## Misc Features
- One of the pros of OO-programming is that you can set a paramater for a whole class and then all functions of the class can use that. Without that functions calls sometimes get awkward when you have to pass the same parameters (config, server URL) over and over again. There are ways to alleviate that, maybe find something elegant to integrate into the language?
- Something like singletons? Constants that can be set on module load? Something like that
- Stay functional and type-safe of course
- Maybe dependent types can be useful for this?
- Closures?
## Other Interesting Languages
- Haskell
......@@ -173,3 +166,12 @@ Debugging needs to be easy and comprehensive.
- Nim
- Elm
- PureScript
## Misc
- Look into the various [GHC language extensions](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html)
- One of the pros of OO-programming is that you can set a paramater for a whole class and then all functions of the class can use that. Without that functions calls sometimes get awkward when you have to pass the same parameters (config, server URL) over and over again. There are ways to alleviate that, maybe find something elegant to integrate into the language?
- Something like singletons? Constants that can be set on module load? Something like that
- Stay functional and type-safe of course
- Maybe dependent types can be useful for this?
- Closures?
main = (x => succ (succ x)) 3
main = ( x => y => (succ (succ y)) ) 3 4
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment