Logs: freenode/#haskell
| 2020-09-23 15:41:10 | × | atraii quits (~atraii@c-98-32-64-84.hsd1.ut.comcast.net) (Ping timeout: 265 seconds) |
| 2020-09-23 15:41:35 | → | atraii joins (~atraii@c-98-32-64-84.hsd1.ut.comcast.net) |
| 2020-09-23 15:44:24 | × | Raito_Bezarius quits (~Raito_Bez@unaffiliated/raito-bezarius/x-8764578) (Remote host closed the connection) |
| 2020-09-23 15:44:37 | → | Raito_Bezarius joins (~Raito_Bez@unaffiliated/raito-bezarius/x-8764578) |
| 2020-09-23 15:45:08 | → | tomku joins (~tomku@unaffiliated/tomku) |
| 2020-09-23 15:45:28 | × | Raito_Bezarius quits (~Raito_Bez@unaffiliated/raito-bezarius/x-8764578) (Remote host closed the connection) |
| 2020-09-23 15:45:29 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:d002:d3e9:83c8:991e) (Ping timeout: 272 seconds) |
| 2020-09-23 15:45:31 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 15:45:58 | → | lemmih_ joins (~lemmih@58.182.131.25) |
| 2020-09-23 15:46:05 | → | Raito_Bezarius joins (~Raito_Bez@unaffiliated/raito-bezarius/x-8764578) |
| 2020-09-23 15:46:37 | <Guest58863> | also interesting: Haskell's Children, https://news.ycombinator.com/item?id=24565019 |
| 2020-09-23 15:47:47 | → | ubert joins (~Thunderbi@91.141.1.30.wireless.dyn.drei.com) |
| 2020-09-23 15:48:07 | × | lemmih quits (~lemmih@2406:3003:2072:44:55f9:95f2:5de1:13ad) (Ping timeout: 240 seconds) |
| 2020-09-23 15:49:10 | × | raichoo quits (~raichoo@213.240.178.58) (Quit: Lost terminal) |
| 2020-09-23 15:50:02 | × | thir quits (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 2020-09-23 15:50:24 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-09-23 15:53:46 | × | Saukk quits (~Saukk@2001:998:dc:4a36:4958:23a2:c14c:3a2f) (Remote host closed the connection) |
| 2020-09-23 15:55:18 | × | sand_dull quits (~theuser@62.182.99.37) (Ping timeout: 260 seconds) |
| 2020-09-23 15:56:09 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 15:57:52 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:d91d:b550:e23c:2cc2) |
| 2020-09-23 15:58:22 | × | ubert quits (~Thunderbi@91.141.1.30.wireless.dyn.drei.com) (Ping timeout: 246 seconds) |
| 2020-09-23 15:59:15 | → | Xcalibur joins (~dvd@2a02:8070:89a8:c200::dd81) |
| 2020-09-23 15:59:37 | → | sedeki joins (~textual@unaffiliated/sedeki) |
| 2020-09-23 15:59:58 | × | mmohammadi9812 quits (~mmohammad@2.178.131.96) (Ping timeout: 260 seconds) |
| 2020-09-23 16:00:48 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
| 2020-09-23 16:02:18 | → | pera joins (~pera@unaffiliated/pera) |
| 2020-09-23 16:05:29 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-09-23 16:05:43 | → | mmohammadi9812 joins (~mmohammad@2.178.131.96) |
| 2020-09-23 16:06:00 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 256 seconds) |
| 2020-09-23 16:06:17 | → | tzh joins (~tzh@2601:448:c500:5300::82b3) |
| 2020-09-23 16:06:17 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 16:06:44 | → | slack1256 joins (~slack1256@191.125.183.112) |
| 2020-09-23 16:07:45 | → | bloodstalker joins (~bloodstal@46.166.187.178) |
| 2020-09-23 16:07:55 | × | ggole quits (~ggole@2001:8003:8119:7200:5d70:fa54:7a7f:6cb8) (Quit: Leaving) |
| 2020-09-23 16:10:35 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-09-23 16:10:47 | <slack1256> | Has anyone done "sed scripts" but with the pipes-ecosystem and a parser combinator library? |
| 2020-09-23 16:10:56 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
| 2020-09-23 16:11:26 | <maerwald> | slack1256: that is planned for streamly, but I don't think they're there yet |
| 2020-09-23 16:12:39 | × | eric_ quits (~eric@2804:431:c7d4:b4fa:51d1:5637:ed81:5491) (Remote host closed the connection) |
| 2020-09-23 16:12:52 | <slack1256> | Mmm well any streaming library works. The thing is how to operate over each line of text, so example to substitute strings or having more flexibility. |
| 2020-09-23 16:13:06 | <slack1256> | I can always yield the lines where I don't do anything. |
| 2020-09-23 16:13:22 | → | nkly joins (~nkly@2a02:8109:9a80:a74:201:2eff:fe81:c6dc) |
| 2020-09-23 16:13:39 | → | modaljunk joins (~modaljunk@gateway/tor-sasl/modaljunk) |
| 2020-09-23 16:14:54 | × | sedeki quits (~textual@unaffiliated/sedeki) (Quit: Textual IRC Client: www.textualapp.com) |
| 2020-09-23 16:15:26 | × | Saten-san quits (~Saten-san@ip-62-235-13-88.dsl.scarlet.be) (Quit: WeeChat 2.8) |
| 2020-09-23 16:15:56 | → | theopcoder joins (~theopcode@171.61.166.22) |
| 2020-09-23 16:16:16 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 16:16:45 | <theopcoder> | hello |
| 2020-09-23 16:18:13 | → | mirrorbird joins (~psutcliff@2a00:801:44a:a00b:20c3:c64:eb15:73a2) |
| 2020-09-23 16:18:15 | → | LKoen joins (~LKoen@81.255.219.130) |
| 2020-09-23 16:19:39 | × | mmohammadi9812 quits (~mmohammad@2.178.131.96) (Quit: I quit (╯°□°)╯︵ ┻━┻) |
| 2020-09-23 16:20:42 | × | theopcoder quits (~theopcode@171.61.166.22) (Quit: theopcoder) |
| 2020-09-23 16:20:44 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-09-23 16:20:57 | × | nkly quits (~nkly@2a02:8109:9a80:a74:201:2eff:fe81:c6dc) (Ping timeout: 272 seconds) |
| 2020-09-23 16:22:03 | → | mmohammadi9812 joins (~mmohammad@2.178.131.96) |
| 2020-09-23 16:22:47 | → | polyphem joins (~p0lyph3m@2a02:810d:640:776c:76d7:55f6:f85b:c889) |
| 2020-09-23 16:23:08 | <AWizzArd> | For a serious app I’m using servant with many routes. Now I want to build a tiny (dockerized) service. Still servant? Maybe snap? Directly warp? I just want a minimalistic setup. |
| 2020-09-23 16:23:18 | × | Colpop4323 quits (~logstash@host81-133-0-90.in-addr.btopenworld.com) (Ping timeout: 260 seconds) |
| 2020-09-23 16:23:54 | × | slack1256 quits (~slack1256@191.125.183.112) (Ping timeout: 256 seconds) |
| 2020-09-23 16:24:41 | <maerwald> | why do you use servant? |
| 2020-09-23 16:25:56 | <maerwald> | last time I touched servant, I had to edit 8 files in total to add a handler |
| 2020-09-23 16:26:22 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 16:26:32 | × | modaljunk quits (~modaljunk@gateway/tor-sasl/modaljunk) (Remote host closed the connection) |
| 2020-09-23 16:26:52 | → | nkly joins (~nkly@2a02:8109:9a80:a74:201:2eff:fe81:c6dd) |
| 2020-09-23 16:26:55 | <maerwald> | scotty and snap are both simpler |
| 2020-09-23 16:26:57 | → | modaljunk joins (~modaljunk@gateway/tor-sasl/modaljunk) |
| 2020-09-23 16:27:45 | <Guest58863> | slack1256: I think one or two such tools are on hackage, but I don't remember their names |
| 2020-09-23 16:28:06 | <Guest58863> | is there any hoogle instance that covers all of hackage ? |
| 2020-09-23 16:28:12 | <maerwald> | Snap may be the thing with the best simplicity-feature balance |
| 2020-09-23 16:28:28 | → | geekosaur joins (42d52102@66.213.33.2) |
| 2020-09-23 16:28:38 | <maerwald> | I wouldn't mind using it for both toy and serious projects |
| 2020-09-23 16:29:01 | <Guest58863> | slack1256: http://hackage.haskell.org/package/haskell-awk I guess but it may not be streaming in that sense |
| 2020-09-23 16:29:08 | <AWizzArd> | maerwald: okay, will try snap. I want to use it programatically and not use the snap exe as shown in the quick tutorial. |
| 2020-09-23 16:29:16 | <maerwald> | if you don't have a real consumer of your servant types... then there's no point |
| 2020-09-23 16:30:16 | <AWizzArd> | maerwald: we liked the idea in servant that the handlers are described in types. I only need to edit in some cases one single file to change/add a route to servant. |
| 2020-09-23 16:30:19 | → | thir joins (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) |
| 2020-09-23 16:30:47 | <maerwald> | the point of having it as types is to have consumers of those types... otherwise there's no point |
| 2020-09-23 16:31:09 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds) |
| 2020-09-23 16:31:14 | × | glguy quits (x@freenode/staff/haskell.developer.glguy) (Quit: Quit) |
| 2020-09-23 16:31:14 | <maerwald> | (consumers being a haskell client or something that generates clients based on them) |
| 2020-09-23 16:31:21 | → | glguy joins (x@freenode/staff/haskell.developer.glguy) |
| 2020-09-23 16:31:27 | <AWizzArd> | maerwald: I see what you mean. |
| 2020-09-23 16:31:27 | × | thir quits (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 2020-09-23 16:31:36 | → | thir joins (~thir@p200300f27f0fc60094e773283d7bf825.dip0.t-ipconnect.de) |
| 2020-09-23 16:32:38 | → | cr0ssw1nd joins (~crosswind@93.152.144.222) |
| 2020-09-23 16:32:40 | <cr0ssw1nd> | hey |
| 2020-09-23 16:34:32 | <cr0ssw1nd> | curious, why ByteString is a "String" and not "Array" ? |
| 2020-09-23 16:34:45 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 240 seconds) |
| 2020-09-23 16:34:50 | <AWizzArd> | maerwald: what package do I need to use if I just want to use snap programatically? snap-server? snap-core? |
| 2020-09-23 16:35:44 | <geekosaur> | it's an array underneath. but it exports a String interface, not an Array (those already exist elsewhere, see Vector and Array) |
| 2020-09-23 16:35:56 | <maerwald> | AWizzArd: usually both |
| 2020-09-23 16:36:06 | <maerwald> | AWizzArd: https://github.com/tomsmeding/pastebin-haskell is a simple example |
| 2020-09-23 16:36:21 | <geekosaur> | basically, you use types in part to say how you want to make use of the data |
| 2020-09-23 16:36:28 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-09-23 16:36:52 | <maerwald> | cr0ssw1nd: it's an unfortunate name overall too |
| 2020-09-23 16:37:20 | <cr0ssw1nd> | geekosaur, so it is usually assumed that ByteString is a piece of text? |
| 2020-09-23 16:37:32 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2020-09-23 16:37:38 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Client Quit) |
| 2020-09-23 16:37:49 | <geekosaur> | ByteString treats it more like a string than an array, including that you typically stream it instead of cutting it into individual characters (although as a string it misses some things like encoding support, so you don't want to treat it *too* much like a string) |
| 2020-09-23 16:37:52 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
All times are in UTC.