Day 8: Resonant Collinearity

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 2 points 2 years ago* (3 children)

Whaaat? It is possible to declare mutliple signatures on one line? ๐Ÿคฏ
Does that function (.+.) add tuples/coordinates?

  • source
  • parent
  • hideshow 3 child comments
  • [โ€“] 2 points 2 years ago (2 children)

    Yup, that's right! The function monad is a bit of a mind-bender, but (join f) x == f x x is a useful thing to remember.

  • source
  • parent
  • hideshow 2 child comments