https://thoughtstreams.io/rrees/haskell/Haskellrrees2014-11-09T18:19:55Zhttps://thoughtstreams.io/rrees/haskell/#card-6725I was starting to get frustrated abou...2014-11-09T18:19:55Z2014-11-09T18:19:55Z
I was starting to get frustrated about the number of parens that were needed on functions (*and people complain about LISP*) and then I discovered the wonderful point operator (literally .) that allows you to create a partial function chain.
https://thoughtstreams.io/rrees/haskell/#card-6724I think having the backtick notation ...2014-11-09T18:15:05Z2014-11-09T18:15:05Z
I think having the backtick notation for prefixing an argument seems nuts, commit to prefix notation FTW
https://thoughtstreams.io/rrees/haskell/#card-6723If you've done Python list comprehens...2014-11-09T18:13:58Z2014-11-09T18:13:58Z
If you've done Python list comprehensions then you can take to Haskell's equivalent like a duck to water.
Interestingly just like Python they are also easier to use than combining lambda expressions with things like map and filter.
https://thoughtstreams.io/rrees/haskell/#card-6563Okay so you define an function in the...2014-10-30T00:15:16Z2014-10-30T00:15:16Z
Okay so you define an function in the interactive session by using *let*. That had baffled me for a little while.
https://thoughtstreams.io/rrees/haskell/#card-6537TIL that Haskell uses significant whi...2014-10-30T00:14:35Z2014-10-30T00:14:35Z
TIL that Haskell uses significant whitespace. I remain convinced that it is a pretty good strategy for block demarcation.
https://thoughtstreams.io/rrees/haskell/#card-6536I really prefer the *let ... in* form...2014-10-26T22:54:42Z2014-10-26T22:54:42Z
I really prefer the *let ... in* format to the *... where* format
https://thoughtstreams.io/rrees/haskell/#card-6535I scored badly at the first week's as...2014-10-26T22:53:05Z2014-10-26T22:53:05Z
I scored badly at the first week's assignment on EDX, but at least it validated that I didn't understand the language of questions even with multiple choice.
Despite the name of the course the first three sessions are really about learning the syntax of Haskell.
https://thoughtstreams.io/rrees/haskell/#card-6534Haskell symbols
:: Type defi...2014-10-26T22:42:06Z2014-10-26T22:42:06Z
Haskell symbols
:: Type definition (to the right)
: Sequence concatenation
!! Access by array index
https://thoughtstreams.io/rrees/haskell/#card-6530I'm currently using a weird mix of *P...2014-10-25T22:55:27Z2014-10-25T22:55:27Z
I'm currently using a weird mix of *Programming in Haskell* and *Learn you a Haskell for great good* to get some programming exercises.
PiH is far too academic and isn't focussed on learning while LYAH is far to step-by-step to just jump between sections but introduces the syntax of the language in a far better way.