These are chat archives for ramda/ramda

20th
May 2015
Jethro Larson
@jethrolarson
May 20 2015 02:27
I just realized Brian Beckman works at my company, so now I just have to find a way to get him started talking about monads and absorb
Simon Friis Vindum
@paldepind
May 20 2015 12:26

@joneshf But types is what union-type-js gives you? I can see what you mean with only having the right hand side. But today you can define a function that only works on a specific type like this (it will throw at runtime if invoked with a wrong type):

var someFn = SomeType.case({
  // Something, something, something.
});

I'm still not convinced that type constructors couldn't give some benefits. But I can't demonstrate how.

Simon Friis Vindum
@paldepind
May 20 2015 12:42
Does anyone know of a description of the Haskell function signatures that does not require knowledge of Haskell? @CrossEye didn't you write an explanation somewhere in an issue comment on GitHub?
Simon Friis Vindum
@paldepind
May 20 2015 13:03
That's a splendid blog post. A actually read that last time I dug into Haskell. But I was thinking something only about the type signatures? Something a Ramda user could read to understand the type signatures used in the docs.
Raine Virta
@raine
May 20 2015 13:06
we need to write one
would it be too obtrusive if docs had a question mark icon next to the signatures that would link to an explanation
or in the dropdown
Ludwig Magnusson
@TheLudd
May 20 2015 13:41
Hello
Is there a function in ramda that takes two arrays and returns a new array containing all duplicates. Sort of the opposite of difference.
Raine Virta
@raine
May 20 2015 13:42
intersection?
Ludwig Magnusson
@TheLudd
May 20 2015 13:44
yes
thanks
Raine Virta
@raine
May 20 2015 19:56
I'm writing a tutorial for ramda-cli, critique is welcome: https://gist.github.com/raine/1d0e71b180a6d862de43
Asaf
@asaf-romano
May 20 2015 21:39
is this behavior change (null not-allowed) intentional? It's not mentioned in the upgrade guide. http://bit.ly/1LmCweM
Asaf
@asaf-romano
May 20 2015 21:47
:-/
quite annoying