Logs: freenode/#haskell
| 2020-10-07 10:47:01 | <dminuoso> | Im not sure what that means |
| 2020-10-07 10:47:04 | <kuribas> | Echosolace: because ghci doesn't know a function will follow |
| 2020-10-07 10:47:06 | <dminuoso> | can you share some larger code snippet perhaps? |
| 2020-10-07 10:47:34 | <kuribas> | dminuoso: fromField takes the (haskell) fieldname, a path, and the destination field in the JSON |
| 2020-10-07 10:48:27 | hackage | hsinspect 0.0.16 - Inspect Haskell source files. https://hackage.haskell.org/package/hsinspect-0.0.16 (tseenshe) |
| 2020-10-07 10:50:11 | <kuribas> | dminuoso: https://gist.github.com/kuribas/9826b1fb9f2907a5c40baff1d7bbcb83 |
| 2020-10-07 10:50:24 | <yushyin> | Echosolace: in ghci you can either declare the type and the function on the same line with a semicolon between them or use :{ and :} to span a definition over multiple lines |
| 2020-10-07 10:50:25 | <Echosolace> | @kuribas Ok ok I see where you're going... How can I jump to the next line to enter in the function definition? |
| 2020-10-07 10:50:26 | <lambdabot> | Unknown command, try @list |
| 2020-10-07 10:50:34 | <Echosolace> | Oooohh snap |
| 2020-10-07 10:50:37 | <Echosolace> | That was it, thank you so much! |
| 2020-10-07 10:50:47 | <kuribas> | Echosolace: you can seperate it with semicolon (;) |
| 2020-10-07 10:50:47 | <yushyin> | Echosolace: or just write a haskell source file and load that in ghci |
| 2020-10-07 10:50:56 | <Echosolace> | Cool. |
| 2020-10-07 10:51:02 | <Echosolace> | Thanks for the help |
| 2020-10-07 10:51:22 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
| 2020-10-07 10:51:28 | <dminuoso> | kuribas: I see. |
| 2020-10-07 10:51:41 | <kuribas> | Echosolace: myFun :: Int -> Int; myFun x = x * 2 |
| 2020-10-07 10:51:51 | <dminuoso> | kuribas: Im thinking of cooking up a TH based solution stead. |
| 2020-10-07 10:52:12 | <kuribas> | dminuoso: why TH? |
| 2020-10-07 10:52:37 | <yushyin> | Echosolace: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci.html#ghci-cmd-:{ |
| 2020-10-07 10:52:48 | <Echosolace> | Thanks |
| 2020-10-07 10:53:56 | <boxscape> | Echosolace in practice while :{ can be useful for small tests writing it into a .hs file and loading it is much less painful |
| 2020-10-07 10:54:45 | <boxscape> | (pretend I put a comma between tests and writing) |
| 2020-10-07 10:54:45 | <kuribas> | dminuoso: I can reuse this for other typeclasses. |
| 2020-10-07 10:55:20 | × | cpressey quits (~cpressey@88.144.95.3) (Quit: WeeChat 1.9.1) |
| 2020-10-07 10:55:53 | <kuribas> | dminuoso: here is the implementation: https://gist.github.com/kuribas/5c617ecf025ccb37467a23556cbe963e |
| 2020-10-07 10:56:04 | <dminuoso> | kuribas: I want to carve out matching toJSON/fromJSON instances by just saying `$(makeJsonInsts ''Foo [("someField", "fSomeFIeld")]` |
| 2020-10-07 10:56:16 | <Echosolace> | Thanks for the help. Hey, so besides getting into a deeper understanding of Cardano, I'm here also in part because I threw a not insignificant amount of time and money in getting a shit ton of vertical planters... How practical would it be to tie sensors and motors to water a garden that runs on Haskell? |
| 2020-10-07 10:56:41 | <dminuoso> | Echosolace: Depends on what hardware you intend to run it on. |
| 2020-10-07 10:56:49 | <dminuoso> | Haskell does not lend itself well for embedded tasks. |
| 2020-10-07 10:56:53 | <kuribas> | dminuoso: the toJSON and fromJSON match in my implementation |
| 2020-10-07 10:57:10 | <kuribas> | Echosolace: you could run it on a raspberry pi... |
| 2020-10-07 10:57:17 | <Echosolace> | Cool, got that... |
| 2020-10-07 10:57:31 | × | chele quits (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) (Remote host closed the connection) |
| 2020-10-07 10:57:33 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6) (Read error: Connection reset by peer) |
| 2020-10-07 10:57:40 | <dminuoso> | In fact, the current implementations essentially force you into running it on a general purpose computer. |
| 2020-10-07 10:57:48 | <kuribas> | Echosolace: however it is probably simpler to just use python ... One of the few cases where I would recommend python :-) |
| 2020-10-07 10:58:04 | <dminuoso> | Echosolace: But beyond that, if running it on a pi is feasible, then Haskell can work just fine. |
| 2020-10-07 10:58:09 | <Echosolace> | Yessss |
| 2020-10-07 10:58:27 | hackage | uniqueness-periods-vector-filters 0.3.0.0 - A library allows to change the structure of the 'RealFrac' function output. https://hackage.haskell.org/package/uniqueness-periods-vector-filters-0.3.0.0 (OleksandrZhabenko) |
| 2020-10-07 10:58:45 | <kuribas> | Echosolace: compiling will be slow on the pi, but it's feasible. |
| 2020-10-07 10:59:36 | <Echosolace> | Well, lots to learn, got to practice. Thanks for all the help, bookmarking the stuff. Probably be back soon. Bye! |
| 2020-10-07 10:59:44 | × | Echosolace quits (99e47769@p790105-ipngn4101hiraide.tochigi.ocn.ne.jp) (Remote host closed the connection) |
| 2020-10-07 11:00:11 | × | mupf quits (~micha@v22017094964653601.ultrasrv.de) (Ping timeout: 240 seconds) |
| 2020-10-07 11:01:32 | × | ahmr88 quits (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) (Remote host closed the connection) |
| 2020-10-07 11:01:48 | → | ahmr88 joins (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) |
| 2020-10-07 11:01:49 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6) |
| 2020-10-07 11:02:19 | × | ahmr88 quits (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) (Remote host closed the connection) |
| 2020-10-07 11:02:35 | → | ahmr88 joins (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) |
| 2020-10-07 11:02:40 | × | xelxebar quits (~xelxebar@gateway/tor-sasl/xelxebar) (Remote host closed the connection) |
| 2020-10-07 11:02:59 | → | xelxebar joins (~xelxebar@gateway/tor-sasl/xelxebar) |
| 2020-10-07 11:03:06 | × | ahmr88 quits (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) (Remote host closed the connection) |
| 2020-10-07 11:03:07 | <kuribas> | dminuoso: well, I haven't tested my implemented, but the idea is that parseJSON (toJSON a) = pure a |
| 2020-10-07 11:03:19 | × | Nahra quits (~Nahra@unaffiliated/nahra) (Ping timeout: 246 seconds) |
| 2020-10-07 11:03:23 | → | ahmr88 joins (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) |
| 2020-10-07 11:03:36 | × | ahmr88 quits (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) (Remote host closed the connection) |
| 2020-10-07 11:03:53 | → | ahmr88 joins (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) |
| 2020-10-07 11:04:24 | × | ahmr88 quits (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) (Remote host closed the connection) |
| 2020-10-07 11:05:25 | × | rprije quits (~rprije@203.214.95.251) (Ping timeout: 240 seconds) |
| 2020-10-07 11:06:58 | hackage | stack2cabal 1.0.11 - Convert stack projects to cabal.project + cabal.project.freeze https://hackage.haskell.org/package/stack2cabal-1.0.11 (maerwald) |
| 2020-10-07 11:08:23 | × | boxscape quits (86ab2d1a@gateway/web/cgi-irc/kiwiirc.com/ip.134.171.45.26) (Quit: Connection closed) |
| 2020-10-07 11:08:33 | → | avdb joins (~avdb@ip-213-49-124-202.dsl.scarlet.be) |
| 2020-10-07 11:26:30 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 2020-10-07 11:27:32 | → | mupf joins (~micha@v22017094964653601.ultrasrv.de) |
| 2020-10-07 11:28:07 | × | ryansmccoy quits (~ryansmcco@193.37.254.27) (Ping timeout: 240 seconds) |
| 2020-10-07 11:28:30 | → | ryansmccoy joins (~ryansmcco@156.96.151.132) |
| 2020-10-07 11:30:01 | → | fendor_ joins (~fendor@91.141.2.76.wireless.dyn.drei.com) |
| 2020-10-07 11:30:07 | × | chaosmasttter quits (~chaosmast@p200300c4a70b400140e8baf6489c3871.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-10-07 11:30:34 | → | da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com) |
| 2020-10-07 11:32:25 | × | fendor quits (~fendor@77.119.128.199.wireless.dyn.drei.com) (Ping timeout: 258 seconds) |
| 2020-10-07 11:36:05 | × | snakemas1 quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 2020-10-07 11:37:01 | → | snakemas1 joins (~snakemast@213.100.206.23) |
| 2020-10-07 11:37:06 | × | LKoen quits (~LKoen@81.255.219.130) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”) |
| 2020-10-07 11:38:29 | × | jassy quits (~jassy@60-242-83-81.tpgi.com.au) (Quit: WeeChat 2.9) |
| 2020-10-07 11:39:01 | → | hekkaidekapus} joins (~tchouri@gateway/tor-sasl/hekkaidekapus) |
| 2020-10-07 11:40:23 | × | hekkaidekapus{ quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds) |
| 2020-10-07 11:46:36 | × | John20 quits (~John@82.46.59.122) (Ping timeout: 256 seconds) |
| 2020-10-07 11:46:48 | × | avdb quits (~avdb@ip-213-49-124-202.dsl.scarlet.be) (Ping timeout: 260 seconds) |
| 2020-10-07 11:48:49 | × | frot-lab quits (3b47f017@gateway/web/cgi-irc/kiwiirc.com/ip.59.71.240.23) (Quit: Connection closed) |
| 2020-10-07 11:53:28 | hackage | update-nix-fetchgit 0.1.2.0 - A program to update fetchgit values in Nix expressions https://hackage.haskell.org/package/update-nix-fetchgit-0.1.2.0 (srk) |
| 2020-10-07 11:54:47 | → | Neuromancer joins (~Neuromanc@unaffiliated/neuromancer) |
| 2020-10-07 11:55:02 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6) (Read error: Connection reset by peer) |
| 2020-10-07 11:55:36 | × | Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 256 seconds) |
| 2020-10-07 11:56:20 | → | cosimone joins (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6) |
| 2020-10-07 11:58:18 | → | John20 joins (~John@82.46.59.122) |
| 2020-10-07 12:00:01 | × | MarkusH1 quits (~MarkusH@185.163.110.116) () |
| 2020-10-07 12:05:24 | → | cpressey joins (~cpressey@79-72-202-104.dynamic.dsl.as9105.com) |
| 2020-10-07 12:07:06 | × | Saukk quits (~Saukk@2001:998:f1:3963:1c59:9bb5:b94c:2) (Remote host closed the connection) |
| 2020-10-07 12:07:28 | → | chaosmasttter joins (~chaosmast@p200300c4a70b400140e8baf6489c3871.dip0.t-ipconnect.de) |
| 2020-10-07 12:07:29 | → | urodna joins (~urodna@unaffiliated/urodna) |
| 2020-10-07 12:09:04 | × | stree quits (~stree@50-108-75-26.adr01.mskg.mi.frontiernet.net) (Quit: Caught exception) |
| 2020-10-07 12:09:22 | → | stree joins (~stree@50-108-75-26.adr01.mskg.mi.frontiernet.net) |
| 2020-10-07 12:12:24 | → | shatriff joins (~vitaliish@88.155.140.206) |
| 2020-10-07 12:12:24 | → | Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas) |
| 2020-10-07 12:15:39 | × | cosimone quits (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6) (Quit: cosimone) |
| 2020-10-07 12:16:25 | × | Stanley00 quits (~stanley00@unaffiliated/stanley00) (Remote host closed the connection) |
| 2020-10-07 12:17:27 | brown121407_ | is now known as brown121407 |
| 2020-10-07 12:17:27 | × | brown121407 quits (~brown1214@2001:19f0:6c01:2b9c:3c66:4201:22f3:3ebc) (Changing host) |
| 2020-10-07 12:17:27 | → | brown121407 joins (~brown1214@fsf/member/brown121407) |
All times are in UTC.