What is a monad sar?

|
Spektrum_light 2022-07-31 17:27:41
when you get what all symbols do you understand the language matter
nocturn9x 2022-07-31 17:27:59
Spektrum_light 2022-07-31 17:26:54
why?

It’s too elitist of a niche

nocturn9x 2022-07-31 17:28:09
It makes FP look like this big and scary topic which it isn’t
qontinuum 2022-07-31 17:28:09
Spektrum_light 2022-07-31 17:26:24
because you don’t get it 🤷 I could say the same thing about regexes

People actually use regexes tho

Spektrum_light 2022-07-31 17:28:19
qontinuum 2022-07-31 17:28:09
People actually use regexes tho

fair lol

nocturn9x 2022-07-31 17:28:28
FP is great and beautiful and haskell makes it look like rocket science
nocturn9x 2022-07-31 17:28:33
That’s not a good quality of a language
Spektrum_light 2022-07-31 17:28:34
nocturn9x 2022-07-31 17:28:09
It makes FP look like this big and scary topic which it isn’t

well it’s a big topic, scary no

nocturn9x 2022-07-31 17:28:43
Spektrum_light 2022-07-31 17:28:34
well it’s a big topic, scary no

haskell makes it look like it is though

Spektrum_light 2022-07-31 17:29:00
well I can agree, some haskell mechanism do be pretty hard to understand
qontinuum 2022-07-31 17:29:34
What is a monad sar?
grakata_clem 2022-07-31 17:29:57
I liked elm and scheme, but haskell has broken me
Spektrum_light 2022-07-31 17:30:13
a monad is something that you put up my ass to make your code have no side effects
grakata_clem 2022-07-31 17:30:19
Someday I will find energy to read about it
Spektrum_light 2022-07-31 17:30:31
grakata_clem 2022-07-31 17:29:57
I liked elm and scheme, but haskell has broken me

scheme is beautiful

Spektrum_light 2022-07-31 17:30:50
the only thing I don’t like is macro definition
grakata_clem 2022-07-31 17:31:16
grakata_clem 2022-07-31 17:29:57
I liked elm and scheme, but haskell has broken me

Especially fucking I/O monad

grakata_clem 2022-07-31 17:31:22
Too hard to put that in mind
Spektrum_light 2022-07-31 17:31:37
okay, so
Spektrum_light 2022-07-31 17:31:41
putting my bias aside
Spektrum_light 2022-07-31 17:32:14
haskell makes fp look hard because of monad, I can agree with that; monads are these strange symbols entangled to strange concepts, which, if you come to oop or even procedural is hard to understand
Spektrum_light 2022-07-31 17:32:19
that I fully agree
Spektrum_light 2022-07-31 17:33:05
but, on the other side, like any other language, once you understand the mechanism and how to compose you get it; it’s like learning a new language, this one just has two different pragmas (purely functional and monads) that are uncommon
ChrisCromer 2022-07-31 17:33:15
Rewrite glibc in brainfuck.
Spektrum_light 2022-07-31 17:35:26
ChrisCromer 2022-07-31 17:33:15
Rewrite glibc in brainfuck.

go ahead, do it

capezotte 2022-07-31 17:36:11
ChrisCromer 2022-07-31 17:14:39
kernelbracesisthename.org

codingisthegame.co.cc

capezotte 2022-07-31 17:37:29
also this is the real indentation crime
$ dash -c ‘f() echo lol; f’
lol
$ bash -c ‘f() echo lol; f’
bash: -c: line 1: syntax error near unexpected token `echo’
bash: -c: line 1: `f() echo lol; f’
ChrisCromer 2022-07-31 17:38:17
The real crime is python using tabs… 😏
ChrisCromer 2022-07-31 17:38:44
Python is inferior, you can’t one line everything.
qontinuum 2022-07-31 17:40:38
ChrisCromer 2022-07-31 17:38:17
The real crime is python using tabs… 😏

s/ using tabs//

ChrisCromer 2022-07-31 17:41:04
qontinuum 2022-07-31 17:40:38
s/ using tabs//

That too.

capezotte 2022-07-31 17:42:59
perl 2022 gang
grakata_clem 2022-07-31 17:43:46
capezotte 2022-07-31 17:42:59
perl 2022 gang

Raku aka Perl 6 you mean? God forbid

capezotte 2022-07-31 17:44:03
grakata_clem 2022-07-31 17:43:46
Raku aka Perl 6 you mean? God forbid

no, that’s perl 2006

ChrisCromer 2022-07-31 17:45:32
Java is the master language because it runs everywhere. 😏
|