- September 26th, 2017:
art2RawNames art = Raw (artId art) <$> (Map.lookup "Person" $ metadata art)
curry away the 'art' var. ref: Y2017.M09.D26.Exercise - September 19th, 2017: The #1Liner to follow (next tweet) is a question based off a code snippet from Y2017.M09.D18.Solution. What is a better/more elegant definition?
fmap (wordStrength . wc) (BL.readFile filename) >>= \dict ->
Reformulate. Curry the dict-ref.
return (Map.insert filename dict m)
Incorporates strong typing over predicate logic programming, and, conversely, incorporates predicate logic programming into strongly typed functional languages. The style of predicate logic is from Prolog; the strongly typed functional language is Haskell.
Tuesday, October 3, 2017
September 2017 1HaskellADay 1Liner problems and solutions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment