<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 _2_4 25  
26 27 28 29 30 31
00:00 bydo joined
00:10 Levex joined
00:25 ices joined
00:28 takle_ joined
00:31 hphuoc25 joined
00:32 Levex joined
00:38 Alexandar joined
00:40 andrei_chiffa_ joined
00:48 takle joined
00:49 NoCreativity_ joined
00:56 kadoban joined
00:59 Levex joined
01:02 \Mike joined
01:05 i-amd3 joined
01:11 dosequis joined
01:21 threestrikes joined
01:25 Levex joined
01:28 Youmu joined
01:29 michaelt joined
01:32 hphuoc25 joined
01:34 Rizy joined
01:39 conal joined
01:45 MotherFlojo joined
01:50 andrei_chiffa__ joined
01:56 chlong__ joined
02:06 i-amd3 joined
02:14 takle joined
02:15 nomotif joined
02:16 lak joined
02:22 jsthomas joined
02:26 systemfault joined
02:31 takle joined
02:31 andrei_chiffa_ joined
02:31 cschneid_ joined
02:32 hphuoc25 joined
02:37 takle joined
02:46 Zialus joined
02:49 louispan joined
02:53 NoCreativity joined
02:55 takle joined
03:00 takle joined
03:05 takle_ joined
03:05 texasmynsted joined
03:12 conal joined
03:19 takle joined
03:25 MotherFlojo joined
03:26 roboguy` joined
03:28 louispan joined
03:30 aarvar joined
03:32 takle joined
03:39 takle joined
03:39 conal joined
03:46 numbers092024 joined
03:46 bungoman joined
03:59 exferenceBot joined
04:03 lspitzner joined
04:04 hexagoxel joined
04:04 hphuoc25 joined
04:09 mengu joined
04:31 takle_ joined
04:32 louispan joined
04:51 patbecich joined
04:58 takle joined
05:04 takle joined
05:10 mengu joined
05:17 cschneid_ joined
05:28 roboguy` joined
05:46 takle joined
05:52 patbecich joined
05:58 takle joined
06:00 monochrom joined
06:25 tsmish joined
06:26 begriffs joined
06:31 takle joined
06:35 dni- joined
06:42 mengu joined
06:45 owiecc joined
06:50 michaelt joined
06:51 thc202 joined
06:54 ThomasLocke joined
06:57 takle joined
07:02 monochrom joined
07:03 hdeshev joined
07:04 jud joined
07:04 jud joined
07:10 tsmish joined
07:15 sujeet joined
07:19 cschneid_ joined
07:22 takle joined
07:24 louispan joined
07:43 takle joined
07:53 takle joined
07:53 patbecich joined
07:59 MotherFlojo joined
08:09 dni- joined
08:17 takle joined
08:21 dickbarends joined
08:24 takle joined
08:30 ploop joined
08:34 <dickbarends> \leave
08:34 dickbarends left
08:34 michaelt joined
08:40 takle joined
08:43 hexagoxel joined
08:47 gregman_ joined
08:51 takle joined
09:02 grayjoc joined
09:08 Gurkenglas_ joined
09:09 louispan joined
09:12 notsohuman joined
09:12 louispan joined
09:18 grdryn joined
09:18 nick_h joined
09:22 louispan joined
09:24 zero_byte joined
09:30 Levex joined
09:34 louispan joined
09:34 hphuoc25 joined
09:37 nick_h joined
09:39 merijn joined
09:41 hexagoxel joined
09:42 Chobbes joined
09:56 patbecich joined
09:56 Pupnik joined
09:59 takle joined
10:12 louispan joined
10:13 Uniaika joined
10:18 hphuoc25 joined
10:29 Levex joined
10:30 qu1j0t3 joined
10:30 Gk-1wm-su joined
10:31 louispan joined
10:34 hphuoc25 joined
10:34 Chobbes joined
10:35 Gk-1wm-su left
10:35 kueller joined
10:35 kueller left
10:39 owiecc_ joined
10:44 mthek joined
10:55 Levex joined
10:57 freechips joined
11:17 jespada joined
11:21 cschneid_ joined
11:22 Chobbes joined
11:23 hphuoc25 joined
11:26 hexagoxel joined
11:38 Chobbes joined
11:43 Levex joined
11:46 snowcrshd joined
11:47 harfangk joined
11:49 JDumenski joined
11:50 ederign joined
11:53 netheranthem joined
11:57 patbecich joined
12:01 _ikke_ joined
12:02 hphuoc25 joined
12:07 geekosaur joined
12:12 Levex joined
12:22 cur8or joined
12:24 cur8or joined
12:28 mjs2600 joined
12:28 m1dnight_ joined
12:29 Levex joined
12:33 PiDelport left
12:48 Chobbes joined
12:54 madjestic joined
12:59 andrei_chiffa__ joined
13:00 Levex joined
13:07 mjs2600 joined
13:09 Levex joined
13:11 michaelt joined
13:11 andrei_chiffa_ joined
13:12 grayjoc joined
13:12 <nick_h> Could I please have some advice on the best approach for using HSpec to handle Either results? I would like to have the Left error displayed in a failure or test the Right against my expectation.
13:17 Levex joined
13:27 lithie joined
13:29 Chobbes joined
13:30 vadimich joined
13:31 vadimich joined
13:33 michaelt joined
13:34 Levex joined
13:36 <sbrg> nick_h: `fmap` can let you access the right if it's there. otherwise nothing is done to the Left constructor
13:39 <sbrg> > fmap (+1) (Right 1)
13:39 <lambdabot> Right 2
13:39 <sbrg> > fmap (+1) (Left "error")
13:39 <lambdabot> Left "error"
13:53 threestrikes joined
13:53 Chobbes joined
13:58 patbecich joined
13:58 pie_ joined
13:59 suls joined
13:59 michaelt joined
14:01 pie_ joined
14:20 mizu_no_oto_work joined
14:21 andrei_chiffa__ joined
14:21 pbrant joined
14:26 luis3m joined
14:27 Gurkenglas_ joined
14:38 tsmish joined
14:38 guampa joined
14:42 hphuoc25 joined
14:51 cur8or joined
14:51 Levex joined
14:55 joneshf-laptop joined
14:56 luis3m joined
14:58 chlong__ joined
14:59 vadimich_ joined
15:04 tsmish joined
15:14 cschneid_ joined
15:17 eacameron joined
15:17 Chobbes joined
15:20 threestrikes joined
15:23 andrei_chifa joined
15:23 nick_h joined
15:37 freechips joined
15:39 cschneid_ joined
15:39 cschneid_ joined
15:39 skeet70 joined
15:42 mjs2600 joined
15:48 mjs2600 joined
15:56 dni- joined
16:00 patbecich joined
16:01 cschnei__ joined
16:01 Levex joined
16:05 <nick_h> sbrg: - thanks ... What I really required was to create an expectation for the Left case and immediately fail .. Test.Hspec.Expectations.expectationFailure was what I was looking for.
16:10 michaelt joined
16:11 Deide joined
16:22 vmeson joined
16:22 aarvar joined
16:24 Gurkenglas_ joined
16:26 owiecc joined
16:28 guampa joined
16:37 jathan joined
16:38 andrei_chifa joined
16:41 Levex joined
16:45 hphuoc25 joined
17:03 conal joined
17:05 carlomagno joined
17:07 uglyfigurine joined
17:07 conal joined
17:16 <benzrf> oops
17:16 <benzrf> crap i forgot to come back
17:16 <benzrf> sorry nil_ ;-;
17:19 delexi joined
17:20 simendsjo joined
17:32 conal joined
17:32 <benzrf> @tell nil_ the lesson i was going for with the lens stuff is that the Functor constraint in the MyLens' type lets you write a general get function - if it were an Applicative constraint, you would only be able to fetch things that have a monoid instance
17:32 <lambdabot> Consider it noted.
17:33 <benzrf> @tell nil_ in fact, in the lens package, swapping out 'Functor' for 'Applicative' in the lens type gives you 'traversals', which can have more than one target and which you aren't guaranteed to be able to use `get' on
17:33 <lambdabot> Consider it noted.
17:37 contiver_ joined
17:37 nick_h joined
17:40 jathan joined
17:43 Uniaika joined
17:54 louispan joined
18:01 patbecich joined
18:07 nick_h joined
18:12 dedgrant joined
18:16 michaelt joined
18:21 owiecc joined
18:24 t0by joined
18:24 t0by joined
18:25 MarcelineVQ joined
18:26 MarcelineVQd joined
18:28 MarcelineVQd joined
18:28 <MarcelineVQd> blop
18:28 jle` joined
18:29 <MarcelineVQ> okay cool lambdabot does track multiple @tell
18:30 malaclyps joined
18:35 Robin_Jadoul joined
18:37 nick_h joined
18:40 tom7942 joined
18:40 wildlander joined
18:53 Rodya_ joined
19:02 ilja_kuklic joined
19:09 dosequis joined
19:12 malaclyps joined
19:13 mizu_no_oto_work joined
19:15 dni- joined
19:17 pilne joined
19:20 hoffmeyer joined
19:25 sigmundv joined
19:26 michaelt joined
19:27 nil_ joined
19:31 mengu joined
19:31 michaelt joined
19:31 chlong joined
19:34 MotherFlojo joined
19:36 emmanuel_erc joined
19:45 Rodya_ joined
19:49 pie_ joined
19:52 Cale joined
19:56 Rodya_ joined
19:59 andrei_chifa joined
20:00 <dosequis> hey all quick question - if I have a: "newtype Return = Return Float", is there a built-in way to extract the Float value, or do I have to create a function like getValue that will pattern match and return the Float?
20:01 <geekosaur> dosequis, pattern match
20:01 <geekosaur> foo (Return f) = ...
20:01 <geekosaur> case aReturn of Return f -> ...
20:01 <dosequis> ok cool just wasn't sure if there was a built-in getValue type thing
20:01 <geekosaur> only if you define it with record syntax
20:02 <dosequis> ok thanks for your help, geekosaur
20:02 <geekosaur> in which case you get to name the accessor/deconstructor
20:02 <dosequis> great thanks again!
20:03 patbecich joined
20:05 delexi joined
20:06 <nil_> So I was waiting for my girlfriend at the ski shop, right? And I was thinking about how functions that produce Monoidal values also form Monoids.
20:06 <nil_> And I'm like, "I bet you can make any Applicative that has Monoid inside a Monoid!".
20:07 <nil_> Only it doesn't compile. What am I doing wrong? http://lpaste.net/353278
20:10 MotherFl1 joined
20:11 lak joined
20:11 fhoffmeyer joined
20:11 <lpaste_> MarcelineVQ annotated “Applicatives with Monoid content are Monoids themselves” with “Applicatives with Monoid content are Monoids themselves (annotation)” at http://lpaste.net/353278#a353279
20:11 <srhb> nil_: Did you mean instance (Applicative f, Monoid m) => Monoid (f m) ?
20:12 <nil_> srhb: Uh, yeah, I guess I did.
20:12 <nil_> Nice. Thanks, guys!
20:18 andrei_chifa joined
20:19 <* ski> blinks
20:19 <monochrom> Good things happen when you visit ski's shop. :)
20:19 <MarcelineVQ> it seems like quite a broad thing to say though, usually isntances are for specific types, which monoid did you have in mind with this experiment btw?
20:21 <nil_> I know, right? I wondered why they went with "Ski shop" instead of just "SK shop" though. Kinda redundant.
20:22 guampa joined
20:22 <nil_> MarcelineVQ: I was going off ((->) r) and it just hit me that Applicative must be powerful enough for this.
20:23 <monochrom> They want everyone to pronounce it the same way. "SK" could cause people divided on pronounciation, one group "skuh" and another group "sukuh" and they fight.
20:24 <nil_> Huh, that's weird. I just say "sk".
20:24 <kadoban> nil_: That's less informative in text than it would otherwise be :)
20:24 <monochrom> yeah, I said "es q el" too for years
20:25 <MarcelineVQ> es q el is the true path
20:25 NoCreativity joined
20:25 <monochrom> In fact I even said "tee cee el tee kay" for years.
20:25 <monochrom> Not to mention "es cee es aye"
20:26 carlomagno joined
20:26 <nil_> ...What's the last one?
20:26 <kadoban> I think the only one of those I pronounce as a word is scuzzy
20:26 Levex joined
20:26 <nil_> Oh, right. :>
20:27 <kadoban> How does one usually pronounce tcl/tk?
20:27 <ski> what monochrom said
20:27 <nil_> "Tickle" and then a sprinkle of "tk" at the and.
20:27 <kadoban> tickle, hah wow.
20:28 <monochrom> First time I heard North Americans said "scudsi" it was right after the Gulf War and Saddams' Iraq's infamous Scud missiles. I was thinking "What does Scud missile have to do with hard disk interface?!"
20:28 <nil_> Not that I use Tcl. I don't like to get touchy-feely with my programming languages, best to keep things professional.
20:28 uglyfigurine joined
20:28 AndreasK joined
20:29 <kadoban> Ya, I don't really know anything about tcl at all really. I only know of it by proxy from using tk in python
20:32 <geekosaur> monochrom, old timers remember scuzzy v sassy, and the split between the original partners that led to Shugart v Seagate
20:33 ilja_kuklic joined
20:34 yfeldblum joined
20:37 pie_ joined
20:37 <monochrom> Oh w00t someone tried to pronounce SCSI "sexy" https://en.wikipedia.org/wiki/SCSI#Parallel_Interface
20:38 levex_ joined
20:38 Rodya_ joined
20:38 <kadoban> That's prety cringe-worthy.
20:40 <geekosaur> sounds pretty oh-god-not-geeks-again to me
20:40 MotherFlojo joined
20:40 <geekosaur> (the only thing worse than letting geeks name something is letting marketing name it...)
20:43 takle joined
20:49 owiecc joined
21:05 grayjoc joined
21:13 Rodya_ joined
21:13 peterbecich joined
21:16 louispan joined
21:23 nomotif joined
21:26 grdryn joined
21:27 cur8or joined
21:41 Uniaika joined
21:52 hiratara joined
21:53 pie_ joined
22:00 conal joined
22:05 patbecich joined
22:08 fhoffmeyer joined
22:11 darthdeus_ joined
22:15 Levex joined
22:19 cur8or joined
22:25 sigmundv_ joined
22:31 hiratara joined
22:34 cur8or joined
22:37 yfeldblum joined
22:40 Levex joined
22:41 louispan joined
22:43 threestrikes joined
22:50 t0by joined
22:50 t0by joined
22:52 ilja_kuklic joined
23:07 cschneid_ joined
23:09 fhoffmeyer joined
23:26 nick_h joined
23:28 Levex joined
23:29 louispan joined
23:40 NeverDie joined
23:45 Kongaloosh joined
23:48 Kongaloosh joined
23:51 Rodya_ joined
23:58 cur8or joined