2021-05-21 14:24:48 +0200azeem(azeem@107.161.19.109) (Quit: Connection closed)
2021-05-21 14:25:17 +0200michalz(~user@185.246.204.47) (Ping timeout: 248 seconds)
2021-05-21 14:25:21 +0200ddellacosta(~ddellacos@86.106.121.32) (Ping timeout: 245 seconds)
2021-05-21 14:25:21 +0200nsilv(~nsilv@212.103.198.210) (Ping timeout: 245 seconds)
2021-05-21 14:25:50 +0200haskman(~haskman@106.215.53.61)
2021-05-21 14:26:43 +0200heath(~heath@68.68.64.38) (Ping timeout: 260 seconds)
2021-05-21 14:27:28 +0200 <haskman> Do we have a good frictionless online haskell environment?
2021-05-21 14:27:57 +0200 <Taneb> haskman: what do you mean by online haskell environment here?
2021-05-21 14:28:03 +0200 <dminuoso> And what do you mean by frictionless?
2021-05-21 14:28:30 +0200horex539(~horex539@2a02:a03f:6aa5:a00:d04b:5fe1:dfa9:d5ee)
2021-05-21 14:28:35 +0200 <haskman> Purescript has something like this - https://try.purescript.org
2021-05-21 14:28:58 +0200 <haskman> Something that allows me to write code in a module and run it without registrations etc
2021-05-21 14:29:07 +0200 <haskman> Try Haskell is ofcourse pretty basic
2021-05-21 14:29:14 +0200 <Taneb> Hmm, I'm not aware of something like that
2021-05-21 14:29:37 +0200 <maerwald> I'm starting to like viewpatterns as way to avoid a few let bindings
2021-05-21 14:29:42 +0200 <haskman> Typescript has a fantastic environment -https://www.typescriptlang.org/play
2021-05-21 14:30:11 +0200horex539(~horex539@2a02:a03f:6aa5:a00:d04b:5fe1:dfa9:d5ee) (Remote host closed the connection)
2021-05-21 14:30:16 +0200 <python476> purescript is very tempting
2021-05-21 14:30:17 +0200 <haskman> So does ReasonML - https://reasonml.github.io/en/try
2021-05-21 14:30:26 +0200horex539(~horex539@2a02:a03f:6aa5:a00:d04b:5fe1:dfa9:d5ee)
2021-05-21 14:30:29 +0200 <python476> the tutorials are very appealing
2021-05-21 14:30:45 +0200 <haskman> Purescript is great!
2021-05-21 14:30:47 +0200 <Taneb> haskman: I note that Purescript and Typescript (I'm not sure about ReasonML) are both designed to compile to JavaScript, and Haskell is not (although it can be)
2021-05-21 14:30:57 +0200 <python476> you made apps in it haskman ?
2021-05-21 14:31:16 +0200 <aweinstock> tryhaskell.org looks like it uses hint instead of ghci, and seems to support evaluating expressions, but not commands like :type or :browse
2021-05-21 14:31:19 +0200 <haskman> Yea I've used both Haskell and PS in production several times now
2021-05-21 14:31:22 +0200sierszn-dev
2021-05-21 14:31:27 +0200zn-devsiers
2021-05-21 14:32:20 +0200michalz(~user@185.246.204.48)
2021-05-21 14:32:21 +0200 <haskman> Taneb: the JS backend definitely helps, but I feel the community should have something similar working for Haskell as well
2021-05-21 14:33:22 +0200 <haskman> aweinstock: Yeah while an online repl is nice, having the ability to create a complete module is invaluable
2021-05-21 14:33:34 +0200bm0(~bmo@45.83.220.203)
2021-05-21 14:35:20 +0200horex539(~horex539@2a02:a03f:6aa5:a00:d04b:5fe1:dfa9:d5ee) (Remote host closed the connection)
2021-05-21 14:35:45 +0200nsilv(~nsilv@212.103.198.210)
2021-05-21 14:35:47 +0200bm0(~bmo@45.83.220.203) (Client Quit)
2021-05-21 14:37:21 +0200bmo(~bmo@45.83.220.203)
2021-05-21 14:37:23 +0200samhh(~samhh@90.252.103.244)
2021-05-21 14:37:31 +0200juhp(~juhp@128.106.188.199) (Quit: juhp)
2021-05-21 14:37:35 +0200bunny(~bunny@user/bunny) ()
2021-05-21 14:37:45 +0200juhp(~juhp@128.106.188.199)
2021-05-21 14:38:23 +0200samhh(~samhh@90.252.103.244) (Client Quit)
2021-05-21 14:40:00 +0200 <boxscape> is there an indexed monad package designed to work with QualifiedDo?
2021-05-21 14:40:08 +0200python476(~user@88.160.31.174) (Ping timeout: 245 seconds)
2021-05-21 14:42:12 +0200 <boxscape> realistically I probably won't use it because I'm trying to write a script that works with vanilla ghc but I'm curious
2021-05-21 14:43:02 +0200sirodoht(uid499766@brockwell.irccloud.com) (Quit: Connection closed for inactivity)
2021-05-21 14:44:05 +0200__monty__(~toonn@d51A54E75.access.telenet.be) (Changing host)
2021-05-21 14:44:05 +0200__monty__(~toonn@user/toonn)
2021-05-21 14:45:12 +0200shapr(~user@pool-100-36-247-68.washdc.fios.verizon.net)
2021-05-21 14:45:21 +0200bmo(~bmo@45.83.220.203) (Ping timeout: 245 seconds)
2021-05-21 14:47:50 +0200 <arahael> How does one parse a hamlet file (Ie, Yesod Hamlet), into HTML?
2021-05-21 14:54:33 +0200zfnmxt(~zfnmxt@206.28.68.51.lunanode-rdns.com) (Changing host)
2021-05-21 14:54:33 +0200zfnmxt(~zfnmxt@user/zfnmxt)
2021-05-21 14:55:16 +0200 <arahael> The trouble I have is that I can get a `Q Exp`, and then I have no idea what to do with it.
2021-05-21 14:56:56 +0200 <xerox> arahael: along the lines of renderHtmlBuilder $(shamletFile "../foo.hamlet")
2021-05-21 14:58:03 +0200 <arahael> xerox: How did you find that?
2021-05-21 14:58:30 +0200 <xerox> https://github.com/search?q=shamletFile&type=code (:
2021-05-21 14:59:26 +0200 <arahael> Hmm, ok, so I'm now wondering how that works... Is the '$(...)' bit a quasi-quoter or something?
2021-05-21 14:59:40 +0200 <xerox> yeah
2021-05-21 14:59:41 +0200waleee(~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
2021-05-21 15:00:18 +0200 <xerox> https://downloads.haskell.org/ghc/latest/docs/html/users_guide/exts/template_haskell.html
2021-05-21 15:00:24 +0200 <xerox> called a "splice" apparently
2021-05-21 15:00:33 +0200 <nsilv> it's a splice, it basically expands the (Q a) into an a at compile time
2021-05-21 15:00:48 +0200erickgnavar(~user@189.216.64.154)
2021-05-21 15:01:17 +0200 <arahael> Interesting. And I can't do it at runtime?
2021-05-21 15:01:48 +0200sondre(~sondrelun@eduroam-193-157-240-212.wlan.uio.no) (Ping timeout: 245 seconds)
2021-05-21 15:02:15 +0200 <nsilv> in this case, you're rendering the html at runtime, but constructing the builder (based on the hamlet file) at compile time (cause you're effectively including it at compile time inside your code, and then you're expanding it into generated haskell code)
2021-05-21 15:02:38 +0200xwx(~george@user/george) (Ping timeout: 245 seconds)
2021-05-21 15:03:02 +0200 <arahael> nsilv: Yeah. I was hoping to read the hamlet at runtime.
2021-05-21 15:03:22 +0200 <nsilv> arahael: and I don't think you can do it exclusively at runtime because iirc hamlet can embed haskell code inside and it gets typeh checked
2021-05-21 15:03:40 +0200 <arahael> Hmm. So I probalby don't want hamlet, then. I should use a different templating system.
2021-05-21 15:03:50 +0200vid0cq(vid0cq@107.161.19.109)
2021-05-21 15:04:32 +0200moistoreos(~moistoreo@99-151-203-47.lightspeed.snantx.sbcglobal.net)
2021-05-21 15:04:41 +0200 <nsilv> arahael: maybe something like https://hackage.haskell.org/package/ginger ?
2021-05-21 15:04:44 +0200Raito_BezariusRaitoBezarius
2021-05-21 15:05:11 +0200RaitoBezariusRaito_Bezarius
2021-05-21 15:05:27 +0200Raito_BezariusRaitoBezarius
2021-05-21 15:05:30 +0200RaitoBezariusRaito_Bezarius
2021-05-21 15:05:48 +0200Raito_BezariusRaitoBezarius
2021-05-21 15:06:05 +0200sondre(~sondrelun@eduroam-193-157-240-212.wlan.uio.no)
2021-05-21 15:07:07 +0200Mark_(uid14803@user/mark/x-9597255)
2021-05-21 15:07:11 +0200RaitoBezarius(~Raito@user/raito-bezarius/x-8759638) (Quit: WeeChat 3.0)
2021-05-21 15:07:17 +0200 <arahael> nsilv: Ginger looks ideal :) And familiar, as well, although I note it doesn't say it's "feature complete".
2021-05-21 15:07:27 +0200Raito_Bezarius(~Raito@2a01:e0a:5f9:9681:a0a0:bb76:611f:9da7)
2021-05-21 15:07:31 +0200Raito_Bezarius(~Raito@2a01:e0a:5f9:9681:a0a0:bb76:611f:9da7) (Changing host)
2021-05-21 15:07:31 +0200Raito_Bezarius(~Raito@user/raito-bezarius/x-8759638)
2021-05-21 15:07:43 +0200Raito_BezariusRaitoBezarius
2021-05-21 15:07:52 +0200RaitoBezariusRaito__Bezarius
2021-05-21 15:08:06 +0200Raito__BezariusRedComet
2021-05-21 15:08:49 +0200 <arahael> nsilv: And it's written by our very own tdammers, too. :)
2021-05-21 15:09:02 +0200RedCometRaito
2021-05-21 15:09:12 +0200 <arahael> I'll have to give it a play soon. For now, though, bed time. 11pm and all.
2021-05-21 15:09:34 +0200RaitoRaito_Bezarius
2021-05-21 15:10:09 +0200 <xerox> arahael: looks like you can, the shakespeare module does provide runtime facilities https://hackage.haskell.org/package/shakespeare-2.0.25/docs/Text-Hamlet-Runtime.html
2021-05-21 15:10:21 +0200sondre(~sondrelun@eduroam-193-157-240-212.wlan.uio.no) (Ping timeout: 245 seconds)
2021-05-21 15:10:46 +0200alloca(~gilmi@2a03:4000:f:7ca:7407:d1ff:fe34:8cd0)
2021-05-21 15:11:28 +0200jrm(~jrm@156.34.187.65)
2021-05-21 15:12:16 +0200y04nn(~y04nn@193.27.14.138)
2021-05-21 15:12:46 +0200 <nsilv> ah i guess it does have some limitations tho. which makes sense
2021-05-21 15:13:32 +0200 <arahael> xerox: That might be useful and what I want.
2021-05-21 15:14:05 +0200 <xerox> just don't get fooled by the word limitations, you can't do those things without compile time parsing no matter which package