[-] mrkeen@mastodon.social 1 points 4 weeks ago

@DmMacniel @vzq

> Given the nature of JS running only on a single thread.

No no, I think you found the language flaw.

[-] mrkeen@mastodon.social 0 points 1 month ago

@Kecessa no you missed my point. You change the behaviour of the producer, not the consumer.

[-] mrkeen@mastodon.social 0 points 2 months ago

@Windex007
> You as the writer, you don’t know either?
Not until the compiler tells me.

> Or is the argument that nobody but the compiler and god need know? That having an awareness of the types has no value?
No, I want to know, because knowing the types has value. If the compiler has inference, it can tell me, if not, it can't.

[-] mrkeen@mastodon.social 0 points 2 months ago

@Windex007

lexer :: Parser LexState (Vector Int, Vector Token)
lexer = do
(positions, tokens) <- _ nextPositionedToken
...

What goes where the underscore is in the above snippet?

view more: ‹ prev next ›

mrkeen

joined 1 year ago