Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
1–9 of 9 posts
Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#2Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#3Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#4What's monadic about this?
Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#5What's monadic about this?
Seriously though, I think that "fluent" interfaces are being re-branded as "monadic" -- I assume because you're creating or piping around bound state and unwrapping/re-wrapping it with the various constructs.
Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#6What's monadic about this?
The title. Seriously though, I think that "fluent" interfaces are being re-branded as "monadic" -- I assume because you're creating or piping around bound state and unwrapping/re-wrapping it with the various constructs.
If I wanted something like this I'd probably just reach for pampy and use pattern matching. Which still isn't "Monadic".
Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#7Earlier quoted context omitted.
The title. Seriously though, I think that "fluent" interfaces are being re-branded as "monadic" -- I assume because you're creating or piping around bound state and unwrapping/re-wrapping it with the various constructs.
It doesn't even seem to be piping anything around though. The result of the filtering certainly isn't getting piped anywhere. If I wanted something like this I'd probably just reach for pampy and use pattern matching. Which still isn't "Monadic".
Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#8Throw this into some already over-bracketized JSX for some code that is truly unreadable by humans and no linter or optimizer will be able to grok. But, hey, it's got Modad!
Re: Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
#9What's monadic about this?
but you are the expert here ;) can you please tell me what am I missing?