Newest at the top
2024-04-29 17:25:42 +0200 | chele | (~chele@user/chele) (Remote host closed the connection) |
2024-04-29 17:18:22 +0200 | shapr | (~user@c-24-218-186-89.hsd1.ma.comcast.net) |
2024-04-29 17:07:52 +0200 | euleritian | (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
2024-04-29 17:07:35 +0200 | euleritian | (~euleritia@dynamic-176-007-169-212.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
2024-04-29 17:05:57 +0200 | famubu | is going afk |
2024-04-29 17:05:17 +0200 | <famubu> | It at least gives something to build on. |
2024-04-29 17:05:04 +0200 | <famubu> | 😬 |
2024-04-29 17:04:27 +0200 | <EvanR> | an inaccurate cheatsheet is definitely hazardous |
2024-04-29 17:03:26 +0200 | euleritian | (~euleritia@dynamic-176-007-169-212.176.7.pool.telefonica.de) |
2024-04-29 17:02:58 +0200 | <famubu> | Don't know how accurate. |
2024-04-29 17:02:52 +0200 | <famubu> | Well.. I have started: https://rawtext.club/~famubu/wiki/haskell/general.html |
2024-04-29 17:02:45 +0200 | <int-e> | write a compiler to really understand all the details |
2024-04-29 17:02:23 +0200 | euleritian | (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds) |
2024-04-29 17:02:21 +0200 | <EvanR> | worse case scenario start putting together a haskell cheatsheet for your own inscrutable purposes |
2024-04-29 16:59:29 +0200 | rosco | (~rosco@yp-146-6.tm.net.my) (Quit: Lost terminal) |
2024-04-29 16:58:43 +0200 | <famubu> | I had been often finding it difficult to find documentation for haskell. Even for things that I had seen earlier but forgotten. I guess a glance at the haskell report is a way to go in such circumstances. |
2024-04-29 16:58:28 +0200 | <EvanR> | duck it |
2024-04-29 16:57:24 +0200 | <mauke> | in the "newer" report |
2024-04-29 16:57:17 +0200 | <mauke> | https://www.haskell.org/onlinereport/haskell2010/haskellch4.html#x10-820004.4.2 |
2024-04-29 16:55:35 +0200 | <famubu> | Thanks |
2024-04-29 16:53:24 +0200 | <int-e> | (putting `haskell "infixl" "infixr"` into a search engine worked for me) |
2024-04-29 16:52:43 +0200 | <int-e> | https://www.haskell.org/onlinereport/decls.html#fixity |
2024-04-29 16:51:17 +0200 | <EvanR> | haskell report xD |
2024-04-29 16:50:46 +0200 | <famubu> | Where can we find documentation mentioning infixl,infixr,etc? Couldn't spot it with a simple internet search. |
2024-04-29 16:48:47 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) |
2024-04-29 16:47:38 +0200 | <int-e> | because I didn't remember what Show and Read do in that case. |
2024-04-29 16:47:09 +0200 | <int-e> | I was testing a trimmed down version in ghci: infixl :-; data X = X :- X | Z deriving (Show, Read) |
2024-04-29 16:46:45 +0200 | <famubu> | Oh you meant for the other version. |
2024-04-29 16:46:04 +0200 | <int-e> | yes it is |
2024-04-29 16:45:59 +0200 | <int-e> | and neither do the Read instances |
2024-04-29 16:45:56 +0200 | <famubu> | But it is showing it as right associativity here, right? |
2024-04-29 16:45:55 +0200 | stefan-__ | (~m-yh2rcc@42dots.de) |
2024-04-29 16:45:31 +0200 | stefan-__ | (~m-yh2rcc@42dots.de) (Remote host closed the connection) |
2024-04-29 16:45:13 +0200 | <int-e> | Yeah the derived Show instances don't take the declared associativity into account. |
2024-04-29 16:42:56 +0200 | <famubu> | Got output like `-- Atom 'A' :- (Atom 'B' :- (Atom 'C' :- Atom 'D'))` |
2024-04-29 16:42:52 +0200 | <famubu> | Thanks! Made it to: https://bpa.st/AJQA |
2024-04-29 16:42:21 +0200 | <lambdabot> | Num a => Complex a |
2024-04-29 16:42:20 +0200 | <EvanR> | :t 2 :+ 1 |
2024-04-29 16:42:12 +0200 | <lambdabot> | 2 :+ 1 |
2024-04-29 16:42:10 +0200 | <EvanR> | > 2 :+ 1 |
2024-04-29 16:41:48 +0200 | euleritian | (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
2024-04-29 16:41:28 +0200 | euleritian | (~euleritia@dynamic-176-007-169-212.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
2024-04-29 16:40:53 +0200 | <ncf> | data Re a = ... | Re a :- Re a | ... |
2024-04-29 16:40:41 +0200 | <lortabac> | and only contains symbols |
2024-04-29 16:40:27 +0200 | <lortabac> | you can define an infix constructor by using a name that starts with ':' |
2024-04-29 16:39:31 +0200 | <famubu> | Is there a way to directly make a constructor infix? Or should we make a function and make that infix? |
2024-04-29 16:39:19 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) (Ping timeout: 268 seconds) |
2024-04-29 16:37:48 +0200 | <ncf> | infixl/infixr |
2024-04-29 16:37:42 +0200 | demon-cat | (~demon-cat@dund-15-b2-v4wan-169642-cust1347.vm6.cable.virginm.net) |
2024-04-29 16:37:33 +0200 | <famubu> | How do we mention associativity with infix? |