Fork me on GitHub
#off-topic
<
2017-03-31
>
madstap00:03:54

All the repls that I know are like A, do you know any examples of B?

qqq00:03:35

I saw one somewhere I forgot where.

jdeisenberg02:03:40

I've largely completed my interactive ClojureScript book (http://langintro.com/cljsbook) ; wondering if I dare to do a "Show HN" on Hacker News.

blueberry08:03:00

@ggaillard @octopuscabbage There is a translation of thae Monads in pictures article to Clojure using Fluokitten. Go to http://fluokitten.uncomplicate.org and find if under "all guides".

Geoffrey Gaillard08:03:37

@qqq This is an interesting question ! I think everybody does REPLs like A because it is easier to append to a file or to a stream than to prepend to it. @octopuscabbage @shdzzl @mattgeb @mobileink Thank you all ! I checked it out and this is awesome !

qqq08:03:42

@blueberry : what does fluokitten provide that algo.monads does not? I tried monads in clojure once, and found that without type checking, it was basically impossible

blueberry08:03:51

@qqq functors, applicatives, foldables, integration of clojure structures. It is not only possible, but I use it even in Neanderthal (all neanderthal structures are functors and foldables).

qqq08:03:20

@blueberry

(fmap + {:a 1 :b 2} {:a 3 :c 4} {:d 5})
;=> {:a 4 :b 2 :c 4 :d 5}
I think a haskeller would get an heartattack seeing that

qqq08:03:48

this is pretty crazy, you're rewriting parts of learn you a haskell in fluokitten

blueberry08:03:36

@qqq it has been rewriten 4 years ago, and is in the test folder, I just never found enough time to write the prose.

qqq08:03:08

one thing I do have to give you credit for, I think this is the closest as I've seen any one get to "function level programming" (as in the John Backus Turing Award Lecture) sense in clojure

Geoffrey Gaillard08:03:55

@qqq I think a haskeller would get an heartattack seeing that I don't understand why this should be shocking 😕

qqq08:03:35

What is so great about midje and why do people love it so much? (Keep running into midje tests in the past few source code bases I have been trying to read.)

schmee09:03:02

a lot of people hate it as well, it one of the more polarizing Clojure projects

baptiste-from-paris11:03:44

hello guys, anyone has ever seen a “git diff for pdf"

baptiste-from-paris11:03:09

in the way that you see what has been added in two different versions

pesterhazy11:03:04

that should be very difficult to implement correctly

pesterhazy11:03:23

you could extract plain text from each and compare using git diff