Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in functional-programming

How to avoid multiple iterations as a pattern?

why is scala Collection.map versus Try.map not consistent?

Filtering a list of (A, Option[B]) and extracting value from Option

How to make Vect n Int an instance of Monoid

Elm beginner: trying to write blackjack

Is scala disregading type in function signatures?

(Lack of) Ambiguous Type When Using Read and Show in Haskell

C++: how to do "map" of Scheme

why the second writeline print out 12 when using lambda?

Composition of compositions in Haskell

What do "continuations" mean in functional programming?(Specfically SML)

Scala : transform a list into a map

I'm having a hard time with a list comprehension

Update a value in a tree

Stateful computation with different types of short-circuit (Maybe, Either)

Pattern matching as a functional expression in swift

Does folktale have an IO monad?

Flatten the map and associate values using Java 8 Stream APIs

Pattern matching key in Erlang maps

How to implement a more general reduce function to allow early exit?