Better HN
topnewbestaskshowjobs
Log inSign up

FroLeMageBlanc

66 karma · joined Oct 4, 2017 (9y ago) · 16 submissions

https://github.com/laurentpayot
Submissions

comment 3y ago · link · parent

If you can’t understand the difference between pure (no side effects) and functional (applying and composing functions), I don’t know what to tell you.

comment 3y ago · link · parent

Purely functional programming is a subset of functional programming (see F# for instance). I was referring to the pipe operator syntax common to many functional programming languages like Haskell, F#, OCaml, Elixir, Elm and so on...

comment 3y ago · link · parent

Haha thanks! Yes haters gonna hate. If you like it, use it; if you don’t, simply don’t use it ;)

comment 3y ago · link · parent

Is functional programming a joke? YMMV...

comment 3y ago · link · parent

Thanks! I’m currently trying to find a better TS type but that’s a bit hairy...

comment 3y ago · link · parent

The pipe function of `fp-ts` doesn’t have direct access to methods and properties of the pipe output like Verticalize. You have to wrap them into anonymous functions. Same with promises.

comment 3y ago · link · parent

Author here. Thanks! Yes I have to confess I have both a Scheme and Elm background ;)

comment 3y ago · link · parent

Author here. Thanks for your nice comment. I added a note to show the "normal" autoformatted syntax.

comment 3y ago · link · parent

Author here. Thanks for your nice comment. I added a note to say it does work with autoformatters too. Actually someone in a comment below said he or she prefers the autoformatted syntax.

10.

Show HN: A JavaScript function that looks and behaves like a pipe operator(github.com ↗)

120 points · by FroLeMageBlanc · 3y ago · 142 comments

11.

Show HN: Minidenticons v3 avatar generator 4 times faster(github.com ↗)

1 points · by FroLeMageBlanc · 3y ago · discuss

12.

Show HN: Super-lightweight custom element for identicons (avatars)(github.com ↗)

3 points · by FroLeMageBlanc · 4y ago · discuss

13.

SVG identicon generator in 20 lines of code(github.com ↗)

1 points · by FroLeMageBlanc · 5y ago · discuss

14.

Show HN: Minimalist yet Powerful Internationalization Library(github.com ↗)

5 points · by FroLeMageBlanc · 7y ago · discuss

15.

Show HN: Floweret – runtime signature type checker using native JavaScript types(github.com ↗)

2 points · by FroLeMageBlanc · 8y ago · discuss