Midwest Dev Chat

MidwestDevChat.com

  • The newest 15 messages in the super-cool #lincolnlambdalounge channel.

  • 03/15 16:16:03 Darell: I should have something by then. I'm going to outline it tonight.
  • 03/15 16:16:12 Frances: thumbsup
  • 03/15 16:24:53 Fernanda: can you have a pharmaceutical slide
  • 03/15 16:25:31 Fernanda: like, side effects include database writes, random number generation, nausea, vomiting, and printing to stdout
  • 03/15 16:32:16 Darell: ha that's great
  • 03/17 23:05:10 Frances: @Darell ^bump
  • 03/19 12:06:06 Darell: @Frances "Changing the World with Pure Functions". How side effects can happen in pure functional languages. I can't quite bring myself to call it "Purifying the World".
  • 03/19 13:25:09 Frances: @Darell Announced! Now you can’t back out. wink
  • 03/23 14:14:47 Fernanda: https://www.quora.com/Why-is-functional-program...
  • 04/03 13:33:04 Fernanda: today I learned that Ramda's `map` supports any fantasy land functor:
    undefined
    > R.map(triple, [1, 2, 3])
    [ 3, 6, 9 ]
    > R.map(triple, Maybe.Just(2))
    Maybe { value: 6 }
    > R.chain(triple, [[1], [2], [3]])
    [ 3, 6, 9 ]
    > R.chain(triple, Maybe.Just(2))
    6
  • 04/03 19:17:33 Darell:
    > R.map(triple, (a,b) => a + b)(1)(2)
    9
    
  • 04/03 19:19:28 Darell: @Darell uploaded a file: Private image uploaded, members only. Sorry.
  • 04/03 19:27:55 Darell: I don't see from the source how it works on non-list monads, but it does! (at least for `Maybe`)
  • 04/03 19:28:34 Darell: ah, objects can override things ("dispatchable")
  • 04/18 16:25:55 Fernanda: Are these operations equivalent? 1. flatten an array of arrays by one level 2. flatmap identity over an array of arrays Intuition says yes:
    (1 [2] 3)
  • *Usernames have been changed to protect the innocent.
We're currently 1048 members strong. Join us!
Request Invite

Check out all the cool channels!

Join the conversation!