Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 255 256 257 258 259 260 261 262 263 264 265 .. 17985
1,798,455 events total
2021-06-03 04:56:08 ddellacosta joins (~ddellacos@86.106.121.109)
2021-06-03 04:59:35 <guest63`> import Control.Applicative hiding (many, <|>) why this is parse error?
2021-06-03 04:59:42 <guest63`> what's the proper way?
2021-06-03 04:59:57 <Axman6> stick <|> in parens
2021-06-03 05:00:08 <Axman6> import Control.Applicative hiding (many, (<|>))
2021-06-03 05:01:06 × ddellacosta quits (~ddellacos@86.106.121.109) (Ping timeout: 272 seconds)
2021-06-03 05:01:08 stardustfp joins (~sd@195.181.166.68)
2021-06-03 05:02:53 doublex__ is now known as doublex
2021-06-03 05:03:03 <guest63`> Axman6: why there're so many <|> in different modules, could Text.ParserCombinators.Parsec.<|> work on something that is for Control.Applicative.<|>
2021-06-03 05:03:26 <guest63`> hiding and qualified too many
2021-06-03 05:03:35 <Axman6> Are you sure they aren't already exactly the same thing? is one just a reexport?
2021-06-03 05:04:07 killsushi joins (~killsushi@2607:fea8:3d40:767:40a2:b161:77f9:99d8)
2021-06-03 05:04:08 × killsushi quits (~killsushi@2607:fea8:3d40:767:40a2:b161:77f9:99d8) (Changing host)
2021-06-03 05:04:08 killsushi joins (~killsushi@user/killsushi)
2021-06-03 05:04:10 <stardustfp> Now that I'm in the right place...what's the recommended first step to learning haskell? Is there a recommended book/course? I typically learn the fastest via video courses or just straight up code examples with simple explanations.
2021-06-03 05:04:14 <Axman6> I would be surprised if most of them aren't just Control.Applicative ((<|>)) reexported
2021-06-03 05:04:28 <c_wraith> the one in parser-combinators is definitely just a re-export
2021-06-03 05:04:35 <Axman6> Welcome stardustfp
2021-06-03 05:04:43 <c_wraith> clearly labeled as such: https://hackage.haskell.org/package/parser-combinators-1.3.0/docs/Control-Applicative-Combinators.html#g:1
2021-06-03 05:06:13 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
2021-06-03 05:10:45 × charles quits (~charles@user/ergo) (Quit: WeeChat 3.0.1)
2021-06-03 05:11:25 ddellacosta joins (~ddellacos@86.106.143.131)
2021-06-03 05:11:42 Erutuon joins (~Erutuon@user/erutuon)
2021-06-03 05:12:26 <Axman6> stardustfp: I'm not sure what the current recommendations are, I haven't seen any comprehensive video tutorials - learning Haskell, depending on your background, often learns unlearning habits from other languages which don't make sense here, so most books and tutorials will start from the very fundamentals, because even those will be foreign
2021-06-03 05:13:05 × myShoggoth quits (~myShoggot@97-120-89-117.ptld.qwest.net) (Ping timeout: 252 seconds)
2021-06-03 05:14:07 haskman joins (~haskman@223.190.19.8)
2021-06-03 05:15:03 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
2021-06-03 05:15:14 ddellaco_ joins (~ddellacos@89.46.62.84)
2021-06-03 05:16:10 × ddellacosta quits (~ddellacos@86.106.143.131) (Ping timeout: 245 seconds)
2021-06-03 05:16:50 jhill is now known as sa
2021-06-03 05:18:18 × y04nn quits (~y04nn@193.32.127.220) (Ping timeout: 264 seconds)
2021-06-03 05:19:16 × sa quits (sid1055@id-1055.tinside.irccloud.com) ()
2021-06-03 05:19:53 sa joins (sid1055@id-1055.tinside.irccloud.com)
2021-06-03 05:20:06 × ddellaco_ quits (~ddellacos@89.46.62.84) (Ping timeout: 272 seconds)
2021-06-03 05:21:01 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
2021-06-03 05:23:57 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
2021-06-03 05:24:11 × a6a45081-2b83 quits (~aditya@106.212.70.132) (Remote host closed the connection)
2021-06-03 05:24:41 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
2021-06-03 05:29:17 v01d4lph4 joins (~v01d4lph4@user/v01d4lph4)
2021-06-03 05:29:44 Pixi_ is now known as Pixi
2021-06-03 05:30:08 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-03 05:30:52 <novasenco> https://gitlab.haskell.org 502 Error fyi
2021-06-03 05:33:49 × xff0x quits (~xff0x@2001:1a81:5341:dc00:75a7:46f8:7ce3:4f61) (Ping timeout: 268 seconds)
2021-06-03 05:34:06 <Axman6> tput: Did you get an answer to your generalised fibonacci thing? I think all you need to do is: f k = let fk = (42 : 11*k+77 : zipWith (((+ (10*k)) .) . (-) . (*2)) (tail fk) fk) in fk
2021-06-03 05:34:17 chomwitt joins (~Pitsikoko@2a02:587:dc02:b00:b16c:5166:feb8:97d5)
2021-06-03 05:34:17 ddellacosta joins (~ddellacos@86.106.121.26)
2021-06-03 05:34:36 xff0x joins (~xff0x@2001:1a81:5341:dc00:f337:c4a9:2546:3790)
2021-06-03 05:35:42 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 264 seconds)
2021-06-03 05:36:57 lavaman joins (~lavaman@98.38.249.169)
2021-06-03 05:37:12 wallymathieu joins (~wallymath@81-234-151-21-no94.tbcn.telia.com)
2021-06-03 05:38:19 o is now known as niko
2021-06-03 05:38:26 <tput> Axman6: yes. that's exactly what I needed to avoid re-evaluating f k. c_wraith helped out
2021-06-03 05:38:40 × ddellacosta quits (~ddellacos@86.106.121.26) (Ping timeout: 245 seconds)
2021-06-03 05:39:55 <tput> in the end, the next step of my solution to the exercise I was working on (determining if a number is semiprime) is just not quite fast enough.
2021-06-03 05:40:19 <tput> this is the exercise: https://open.kattis.com/problems/blobsofdoom
2021-06-03 05:41:05 <tput> I think there's likely a cleverer solution that I'm not seeing
2021-06-03 05:41:38 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 272 seconds)
2021-06-03 05:41:54 guest63`` joins (~user@49.5.6.87)
2021-06-03 05:41:55 × guest63` quits (~user@124.64.19.240) (Read error: Connection reset by peer)
2021-06-03 05:49:12 ddellacosta joins (~ddellacos@86.106.143.66)
2021-06-03 05:50:51 ru0mad joins (~ru0mad@82-64-17-144.subs.proxad.net)
2021-06-03 05:53:40 × ddellacosta quits (~ddellacos@86.106.143.66) (Ping timeout: 245 seconds)
2021-06-03 05:55:42 sondre joins (~sondrelun@cm-84.212.100.140.getinternet.no)
2021-06-03 06:00:57 × ru0mad quits (~ru0mad@82-64-17-144.subs.proxad.net) (Ping timeout: 268 seconds)
2021-06-03 06:04:14 × xff0x quits (~xff0x@2001:1a81:5341:dc00:f337:c4a9:2546:3790) (Ping timeout: 252 seconds)
2021-06-03 06:04:44 koishi_ joins (~koishi_@185.209.85.134)
2021-06-03 06:04:48 xff0x joins (~xff0x@port-92-193-206-214.dynamic.as20676.net)
2021-06-03 06:05:21 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2021-06-03 06:06:30 × haskman quits (~haskman@223.190.19.8) (Quit: Going to sleep. ZZZzzz…)
2021-06-03 06:07:43 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
2021-06-03 06:07:49 ddellacosta joins (~ddellacos@86.106.121.86)
2021-06-03 06:10:00 Bartosz joins (~textual@24.35.90.211)
2021-06-03 06:11:43 killsushi_ joins (~killsushi@2607:fea8:3d40:767:40a2:b161:77f9:99d8)
2021-06-03 06:11:43 × killsushi_ quits (~killsushi@2607:fea8:3d40:767:40a2:b161:77f9:99d8) (Changing host)
2021-06-03 06:11:43 killsushi_ joins (~killsushi@user/killsushi/x-5912268)
2021-06-03 06:12:00 × ddellacosta quits (~ddellacos@86.106.121.86) (Ping timeout: 245 seconds)
2021-06-03 06:14:31 ru0mad joins (~ru0mad@82-64-17-144.subs.proxad.net)
2021-06-03 06:15:18 × killsushi quits (~killsushi@user/killsushi) (Ping timeout: 264 seconds)
2021-06-03 06:17:33 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-03 06:17:58 × ru0mad quits (~ru0mad@82-64-17-144.subs.proxad.net) (Client Quit)
2021-06-03 06:19:00 × Pixi quits (~Pixi@user/pixi) (Ping timeout: 272 seconds)
2021-06-03 06:20:02 ru0mad joins (~ru0mad@82-64-17-144.subs.proxad.net)
2021-06-03 06:22:42 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-06-03 06:23:30 ddellacosta joins (~ddellacos@89.45.224.235)
2021-06-03 06:24:33 <dmwit> ?where tutorials -- stardustfp
2021-06-03 06:24:33 <lambdabot> http://haskell.org/haskellwiki/Tutorials
2021-06-03 06:25:28 a6a45081-2b83 joins (~aditya@106.212.70.132)
2021-06-03 06:26:26 ddellaco_ joins (~ddellacos@89.46.62.62)
2021-06-03 06:27:00 <dmwit> guest63``: Yeah, parsec2 defined its own (<|>) before (<|>) was a thing and it's kept it for back-compatibility ever since. But it does the same thing as C.A.<|>, so you can safely hide it.
2021-06-03 06:27:53 <dmwit> guest63``: Also consider switching to parsec3 -- in many cases, this is as easy as just switching from `Text.ParserCombinators.Parsec[.Foo]` to `Text.Parsec[.Foo]` in all your imports.
2021-06-03 06:27:56 × ddellacosta quits (~ddellacos@89.45.224.235) (Ping timeout: 244 seconds)
2021-06-03 06:28:33 <dmwit> ...oh, scratch that, parsec3 exports a custom <|> as well. How obnoxious.
2021-06-03 06:28:34 × ru0mad quits (~ru0mad@82-64-17-144.subs.proxad.net) (Quit: leaving)
2021-06-03 06:28:52 ru0mad joins (~ru0mad@82-64-17-144.subs.proxad.net)
2021-06-03 06:29:30 × sondre quits (~sondrelun@cm-84.212.100.140.getinternet.no) (Ping timeout: 245 seconds)
2021-06-03 06:30:39 × ru0mad quits (~ru0mad@82-64-17-144.subs.proxad.net) (Client Quit)
2021-06-03 06:31:02 × ddellaco_ quits (~ddellacos@89.46.62.62) (Ping timeout: 244 seconds)
2021-06-03 06:31:13 leeb_ joins (~leeb@KD111239152092.au-net.ne.jp)
2021-06-03 06:31:46 ru0mad joins (~ru0mad@82-64-17-144.subs.proxad.net)
2021-06-03 06:31:51 ub joins (~Thunderbi@p200300ecdf259dec656b91086baf35ac.dip0.t-ipconnect.de)

All times are in UTC.