Logs: freenode/#haskell
| 2020-09-23 13:08:03 | <phadej> | cabal build takes --ghcjs and --with-compiler flags |
| 2020-09-23 13:08:28 | <ahri> | a template might be useful, I'll have a look |
| 2020-09-23 13:08:32 | <sshine> | oh wow, I thought GHCJS was still on 7.x :) |
| 2020-09-23 13:08:37 | × | gmt quits (~gmt@pool-71-105-108-44.nycmny.fios.verizon.net) (Ping timeout: 256 seconds) |
| 2020-09-23 13:08:38 | <ahri> | phadej: oh cool, thanks |
| 2020-09-23 13:09:12 | → | sw1nn joins (~sw1nn@2a00:23c6:2385:3a00:3ffe:d2e0:5f97:ad25) |
| 2020-09-23 13:09:13 | <ahri> | yeah so my current project is actually based on Haste, which is stuck on 7.x, this is why I want to try out ghcjs! |
| 2020-09-23 13:09:16 | × | mirrorbird quits (~psutcliff@2a00:801:44a:a00b:20c3:c64:eb15:73a2) (Quit: Leaving) |
| 2020-09-23 13:09:33 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 13:12:39 | × | sw1nn quits (~sw1nn@2a00:23c6:2385:3a00:3ffe:d2e0:5f97:ad25) (Client Quit) |
| 2020-09-23 13:13:17 | <frdg> | I have lists List1 and List2. I would like to compare the head of List1 with every element of List2, then I would like to do the same with List1's tail. What is a nice way to do this? |
| 2020-09-23 13:13:34 | → | hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net) |
| 2020-09-23 13:14:04 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-09-23 13:14:14 | → | sw1nn joins (~sw1nn@2a00:23c6:2385:3a00:6623:d71f:7a29:28d2) |
| 2020-09-23 13:15:56 | → | macrover joins (~macrover@ip70-189-231-35.lv.lv.cox.net) |
| 2020-09-23 13:17:21 | <frdg> | this is like a nested loop in other languages now that I think about it. |
| 2020-09-23 13:17:39 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:a8a2:2518:6bde:e621) |
| 2020-09-23 13:17:53 | → | Sanchayan joins (~Sanchayan@106.201.35.117) |
| 2020-09-23 13:18:40 | <phadej> | :t \xs ys m -> Data.Foldable.for_ xs $ \x -> Data.Foldable.for_ ys $ \y -> m x y |
| 2020-09-23 13:18:42 | <lambdabot> | (Applicative f, Foldable t1, Foldable t2) => t1 t3 -> t2 t4 -> (t3 -> t4 -> f b) -> f () |
| 2020-09-23 13:19:07 | → | adamwespiser joins (~adam_wesp@209.6.42.110) |
| 2020-09-23 13:19:44 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 13:20:01 | → | thir joins (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) |
| 2020-09-23 13:22:27 | × | koz_ quits (~koz@2404:4408:4303:8800:4270:af80:81b7:2f9) (Ping timeout: 260 seconds) |
| 2020-09-23 13:22:32 | → | koz joins (~koz@121.99.240.58) |
| 2020-09-23 13:24:01 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds) |
| 2020-09-23 13:25:38 | <pjb> | frdg: compareHeadWithElements list1 list2 = map (\e -> (head list1) < e) list2 compareHeadWithElements [3, 2, 1] [1, 2, 3, 4, 5] => [False,False,False,True,True] |
| 2020-09-23 13:25:44 | × | adamwespiser quits (~adam_wesp@209.6.42.110) (Ping timeout: 260 seconds) |
| 2020-09-23 13:26:14 | <hololeap> | frdg: what type signature do you want it to have? it isn't clear (to me) what you want to do |
| 2020-09-23 13:27:07 | × | thir quits (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-09-23 13:27:15 | <pjb> | frdg: how do you compare elements of list2 with an element of list1 and also with a tail of list1? |
| 2020-09-23 13:27:27 | hackage | primal 0.2.0.0 - Primeval world of Haskell. https://hackage.haskell.org/package/primal-0.2.0.0 (lehins) |
| 2020-09-23 13:27:28 | × | shad0w_ quits (~shad0w_@160.202.36.218) (Remote host closed the connection) |
| 2020-09-23 13:27:33 | <hololeap> | do you want to have a growing list of every comparison, or do you want to stop when a comparison has a certain result? |
| 2020-09-23 13:28:07 | <pjb> | do you want to compare all the elements of list1 with all the elements of list2? That would seem more logical. |
| 2020-09-23 13:29:15 | <hololeap> | % liftA2 compare [1,2,3] [2,3,4] |
| 2020-09-23 13:29:16 | <yahb> | hololeap: [LT,LT,LT,EQ,LT,LT,GT,EQ,LT] |
| 2020-09-23 13:29:39 | × | frdg quits (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) (Ping timeout: 245 seconds) |
| 2020-09-23 13:29:51 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 13:29:53 | <pjb> | compareLists list1 list2 = map (\e1 -> map (\e2 -> e1 < e2) list2) list1 ; compareLists [3, 2, 1] [1, 2, 3, 4, 5] ==> [[False,False,False,True,True],[False,False,True,True,True],[False,True,True,True,True]] |
| 2020-09-23 13:29:55 | × | coot quits (~coot@37.30.51.178.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 2020-09-23 13:31:12 | → | nyd joins (~nyd@unaffiliated/elysian) |
| 2020-09-23 13:31:43 | → | shad0w_ joins (~shad0w_@160.202.36.218) |
| 2020-09-23 13:34:10 | × | mud quits (~mud@unaffiliated/kadoban) (Quit: bye) |
| 2020-09-23 13:34:36 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-09-23 13:34:41 | × | whald quits (~trem@2a02:810a:8100:11a6:230:93ff:fe14:8b3) (Remote host closed the connection) |
| 2020-09-23 13:34:55 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9) |
| 2020-09-23 13:35:27 | hackage | primal-memory 0.2.0.0 - Unified interface for memory managemenet. https://hackage.haskell.org/package/primal-memory-0.2.0.0 (lehins) |
| 2020-09-23 13:37:19 | × | shad0w_ quits (~shad0w_@160.202.36.218) (Ping timeout: 246 seconds) |
| 2020-09-23 13:37:55 | → | mud joins (~mud@unaffiliated/kadoban) |
| 2020-09-23 13:38:39 | → | alp joins (~alp@2a01:e0a:58b:4920:f19b:fafc:cf6a:a889) |
| 2020-09-23 13:39:28 | → | giri joins (6a33f03c@106.51.240.60) |
| 2020-09-23 13:39:59 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 13:41:27 | × | ixlun quits (~matthew@213.205.241.18) (Read error: Connection reset by peer) |
| 2020-09-23 13:44:21 | → | adamwespiser joins (~adam_wesp@209.6.42.110) |
| 2020-09-23 13:44:57 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-09-23 13:45:28 | → | thir joins (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) |
| 2020-09-23 13:45:35 | × | adamwespiser quits (~adam_wesp@209.6.42.110) (Remote host closed the connection) |
| 2020-09-23 13:48:20 | → | mmohammadi98120 joins (~mmohammad@188.210.106.255) |
| 2020-09-23 13:49:13 | → | ystael joins (~ystael@209.6.50.55) |
| 2020-09-23 13:49:35 | → | shad0w_ joins (~shad0w_@160.202.37.157) |
| 2020-09-23 13:49:47 | × | thir quits (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-09-23 13:50:18 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 13:50:20 | × | alexm_ quits (~AlexM87@161.8.233.138) (Read error: Connection reset by peer) |
| 2020-09-23 13:50:58 | × | mmohammadi9812 quits (~mmohammad@5.238.181.150) (Ping timeout: 272 seconds) |
| 2020-09-23 13:50:58 | mmohammadi98120 | is now known as mmohammadi9812 |
| 2020-09-23 13:53:14 | → | AlterEgo- joins (~ladew@124-198-158-163.dynamic.caiway.nl) |
| 2020-09-23 13:54:23 | × | Dolly quits (585fd1fd@ti0203q160-5312.bb.online.no) (Remote host closed the connection) |
| 2020-09-23 13:54:57 | × | kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Remote host closed the connection) |
| 2020-09-23 13:55:24 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
| 2020-09-23 13:55:31 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 2020-09-23 13:56:14 | → | thir joins (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) |
| 2020-09-23 13:57:11 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 2020-09-23 13:57:25 | × | mud quits (~mud@unaffiliated/kadoban) (Quit: bye) |
| 2020-09-23 13:57:37 | <shad0w_> | https://byorgey.wordpress.com/2009/01/12/abstraction-intuition-and-the-monad-tutorial-fallacy/ |
| 2020-09-23 13:58:17 | <shad0w_> | did ^that start the entire monads are like burritos thing ? |
| 2020-09-23 13:59:21 | → | coot joins (~coot@37.30.51.178.nat.umts.dynamic.t-mobile.pl) |
| 2020-09-23 14:01:32 | × | thir quits (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 2020-09-23 14:03:45 | → | Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net) |
| 2020-09-23 14:04:11 | × | plutoniix quits (~q@ppp-223-24-148-119.revip6.asianet.co.th) (Ping timeout: 240 seconds) |
| 2020-09-23 14:04:32 | → | fdsxc joins (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) |
| 2020-09-23 14:04:56 | → | josh joins (~josh@c-67-164-104-206.hsd1.ca.comcast.net) |
| 2020-09-23 14:05:13 | → | jneira joins (501e65ce@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.101.206) |
| 2020-09-23 14:05:54 | × | giri quits (6a33f03c@106.51.240.60) (Ping timeout: 245 seconds) |
| 2020-09-23 14:06:15 | × | mmohammadi9812 quits (~mmohammad@188.210.106.255) (Ping timeout: 258 seconds) |
| 2020-09-23 14:07:11 | → | mmohammadi9812 joins (~mmohammad@2.178.131.96) |
| 2020-09-23 14:08:24 | → | Achylles joins (~Achylles@201-68-69-193.dsl.telesp.net.br) |
| 2020-09-23 14:08:25 | <dminuoso> | shad0w_: No |
| 2020-09-23 14:08:49 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 2020-09-23 14:09:15 | × | fdsxc quits (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) (Client Quit) |
| 2020-09-23 14:09:36 | × | josh quits (~josh@c-67-164-104-206.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 2020-09-23 14:10:11 | <merijn> | No, a blogpost going "monads are like burritos" started that |
| 2020-09-23 14:10:15 | <merijn> | Which is objectively stupid |
| 2020-09-23 14:10:22 | <merijn> | Because monads aren't like burritos |
| 2020-09-23 14:10:22 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 14:10:31 | <merijn> | *co*monads are like burritos |
| 2020-09-23 14:10:31 | <AWizzArd> | merijn: do you use Emacs and the Haskell Language Server? |
| 2020-09-23 14:10:39 | <merijn> | "it's hard to keep things inside" |
| 2020-09-23 14:10:44 | <merijn> | AWizzArd: No and no :p |
| 2020-09-23 14:10:44 | <AWizzArd> | hah :) |
All times are in UTC.