These are chat archives for got-lambda/expression

30th
Nov 2016
Marco Zocca
@ocramz
Nov 30 2016 14:38
wassup lambdas
Erik Svedäng
@eriksvedang
Nov 30 2016 22:31
not much!
jolod
@jolod
Nov 30 2016 23:09
@Jell This approach with passing the instance as a struct/record that you and @eriksvedang talked about is the "class map" approach I talked about when we discussed polymorphisms in FP a couple of weeks ago, in case it wasn't clear back then.
A cool thing with Elm is that you can have extra fields in the record, so you can pass in what would be the equivalent of a subtype interface in Java (interfance C extends A, B).