Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,804,038 events total
2021-08-10 03:59:53 × adam1 quits (~adam@2001-b011-4007-0808-916d-b2e3-f972-38e2.dynamic-ip6.hinet.net) (Client Quit)
2021-08-10 04:00:04 adam1 joins (~adam@2001-b011-4007-0808-916d-b2e3-f972-38e2.dynamic-ip6.hinet.net)
2021-08-10 04:01:32 × euouae quits (~euouae@user/euouae) (Client Quit)
2021-08-10 04:04:17 × pe200012 quits (~pe200012@113.105.10.33) (Ping timeout: 248 seconds)
2021-08-10 04:04:23 pe200012_ joins (~pe200012@218.107.49.28)
2021-08-10 04:06:04 × Guest4593 quits (~Guest45@2001:8004:2728:3231:22e8:8df9:c65:5ea) (Ping timeout: 246 seconds)
2021-08-10 04:11:08 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
2021-08-10 04:12:12 × VoidNoir0 quits (~VoidNoir0@72.80.203.52) (Quit: Ping timeout (120 seconds))
2021-08-10 04:12:47 lavaman joins (~lavaman@98.38.249.169)
2021-08-10 04:17:17 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 268 seconds)
2021-08-10 04:17:36 × MQ-17J quits (~MQ-17J@8.6.144.209) (Ping timeout: 272 seconds)
2021-08-10 04:25:12 × adam1 quits (~adam@2001-b011-4007-0808-916d-b2e3-f972-38e2.dynamic-ip6.hinet.net) (Ping timeout: 272 seconds)
2021-08-10 04:27:45 × pgib quits (~textual@173.38.117.78) (Ping timeout: 248 seconds)
2021-08-10 04:30:23 lavaman joins (~lavaman@98.38.249.169)
2021-08-10 04:37:14 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-08-10 04:42:29 Guest7116 joins (~Guest71@217.156.31.64)
2021-08-10 04:45:07 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
2021-08-10 04:51:04 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-08-10 04:54:07 falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net)
2021-08-10 04:55:42 Guest7116 is now known as random-jellyfish
2021-08-10 04:55:47 × random-jellyfish quits (~Guest71@217.156.31.64) (Changing host)
2021-08-10 04:55:47 random-jellyfish joins (~Guest71@user/random-jellyfish)
2021-08-10 04:57:23 Gurkenglas joins (~Gurkengla@dslb-002-203-144-156.002.203.pools.vodafone-ip.de)
2021-08-10 04:59:33 × sm2n quits (~sm2n@user/sm2n) (Read error: Connection reset by peer)
2021-08-10 05:04:17 adam1 joins (~adam@2001-b011-4007-2236-a1a1-867b-8ec5-4452.dynamic-ip6.hinet.net)
2021-08-10 05:08:29 × myShoggoth quits (~myShoggot@97-120-70-214.ptld.qwest.net) (Ping timeout: 268 seconds)
2021-08-10 05:09:32 MorrowM joins (~Morrow@176.12.187.199)
2021-08-10 05:11:04 pfurla_ joins (~pfurla@ool-182ed2e2.dyn.optonline.net)
2021-08-10 05:11:36 sm2n joins (~sm2n@user/sm2n)
2021-08-10 05:12:21 michalz joins (~michalz@185.246.204.61)
2021-08-10 05:13:54 × pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Ping timeout: 272 seconds)
2021-08-10 05:14:22 × cjb quits (~cjb@user/cjb) (Quit: rcirc on GNU Emacs 28.0.50)
2021-08-10 05:17:59 × _xor quits (~xor@74.215.232.67) (Quit: brb)
2021-08-10 05:19:56 <koz> dibblego: https://twitter.com/PLT_Borat/status/228009057670291456
2021-08-10 05:20:01 <koz> I have found this gem once again.
2021-08-10 05:20:45 <dibblego> heh
2021-08-10 05:21:36 × derelict quits (~derelict@user/derelict) (Quit: WeeChat 3.2)
2021-08-10 05:22:33 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
2021-08-10 05:25:07 × falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 268 seconds)
2021-08-10 05:26:53 jneira joins (~jneira@212.8.115.226)
2021-08-10 05:31:23 _xor joins (~xor@74.215.232.67)
2021-08-10 05:31:51 etehtsea joins (~etehtseam@2001:470:69fc:105::d579)
2021-08-10 05:32:00 bin_ joins (~bin@user/bin/x-1583188)
2021-08-10 05:32:14 × _bin quits (~bin@user/bin/x-1583188) (Ping timeout: 258 seconds)
2021-08-10 05:33:53 pe200012 joins (~pe200012@113.105.10.33)
2021-08-10 05:34:25 × pe200012_ quits (~pe200012@218.107.49.28) (Ping timeout: 248 seconds)
2021-08-10 05:37:52 etehtsea parts (~etehtseam@2001:470:69fc:105::d579) ()
2021-08-10 05:39:57 pottsy joins (~pottsy@2400:4050:b560:3700:38eb:29ba:72bf:9791)
2021-08-10 05:41:53 vrilles joins (~vrilles@user/aman)
2021-08-10 05:45:47 lavaman joins (~lavaman@98.38.249.169)
2021-08-10 05:50:25 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 248 seconds)
2021-08-10 05:54:14 × MorrowM quits (~Morrow@176.12.187.199) (Read error: Connection reset by peer)
2021-08-10 05:54:32 MorrowM joins (~Morrow@176.12.187.199)
2021-08-10 05:56:39 euouae joins (~euouae@user/euouae)
2021-08-10 05:57:02 <euouae> Hello I want to ask about ((->) a)
2021-08-10 05:57:07 <euouae> Is this a Yoneda embedding?
2021-08-10 05:57:40 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 272 seconds)
2021-08-10 05:57:50 myShoggoth joins (~myShoggot@97-120-70-214.ptld.qwest.net)
2021-08-10 05:57:59 <euouae> Or rather, sorry, is it just the hom functor in the second argument?
2021-08-10 06:01:30 <dibblego> @type id :: e -> e
2021-08-10 06:01:31 <lambdabot> e -> e
2021-08-10 06:01:34 <dibblego> @type id :: (->) e e
2021-08-10 06:01:35 <lambdabot> e -> e
2021-08-10 06:01:40 <dibblego> @type id :: ((->) e) e
2021-08-10 06:01:41 <lambdabot> e -> e
2021-08-10 06:02:22 <euouae> Right but I'm asking about ((->) a) being a functor
2021-08-10 06:02:36 <dibblego> @type fmap
2021-08-10 06:02:37 <lambdabot> Functor f => (a -> b) -> f a -> f b
2021-08-10 06:02:40 <dibblego> @type fmap :: (a -> b) -> [a] -> [b]
2021-08-10 06:02:41 <lambdabot> (a -> b) -> [a] -> [b]
2021-08-10 06:02:47 takuan joins (~takuan@178-116-218-225.access.telenet.be)
2021-08-10 06:02:50 <dibblego> @type fmap :: (a -> b) -> ((-> e) a) -> ((->) e b)
2021-08-10 06:02:51 <lambdabot> error: parse error on input ‘e’
2021-08-10 06:02:57 <dibblego> @type fmap :: (a -> b) -> ((->) e a) -> ((->) e b)
2021-08-10 06:02:58 <lambdabot> (a -> b) -> (e -> a) -> e -> b
2021-08-10 06:04:06 <euouae> Hm.. I can't quite put into words what I'm thinking. I just realized that ((->) a) being a functor had to do with the Yoneda lemma
2021-08-10 06:04:19 <euouae> Or rather, the statement of the Yoneda lemma uses that functor
2021-08-10 06:06:39 <Gurkenglas> euouae, the yoneda embedding takes the b in (a -> b) as its first argument
2021-08-10 06:06:49 <Gurkenglas> it's flip (->), basically.
2021-08-10 06:07:10 × random-jellyfish quits (~Guest71@user/random-jellyfish) (Ping timeout: 246 seconds)
2021-08-10 06:07:15 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-10 06:07:20 <euouae> Gurkenglas: You can have it both ways right?
2021-08-10 06:07:20 <dsal> :t ((->) a)
2021-08-10 06:07:21 <lambdabot> error: parse error on input ‘->’
2021-08-10 06:07:35 <Axman6> it's be :kind
2021-08-10 06:07:39 <Axman6> it'd*
2021-08-10 06:08:26 <dsal> I was going type would be useful. But yeah, they kind is illustrative.
2021-08-10 06:08:27 <euouae> :kind ((->) *)
2021-08-10 06:08:37 <euouae> Hmm it works in ghci
2021-08-10 06:08:53 <dibblego> @kind ((->) *)
2021-08-10 06:08:54 <lambdabot> * -> *
2021-08-10 06:09:05 <dsal> If you can imagine ((->) a) bring a mapping of a to b, then youb can imagine seeing how a function of b->c can be fmapped
2021-08-10 06:09:24 <Gurkenglas> euouae, if you want to understand the yoneda lemma you need to pay attention to the difference; the difference between the a and the b is that the result is "covariant" in the b and "contravariant" in the a. This means that given some b->b' you can turn each a->b into some a->b', but given some a->a' you get *get* some a->b *from* each a'->b
2021-08-10 06:09:36 <dsal> 'a' was confusing there... I should be asleep
2021-08-10 06:09:53 <euouae> Gurkenglas: But Yoneda lemma has both versions
2021-08-10 06:10:05 Erutuon joins (~Erutuon@user/erutuon)
2021-08-10 06:10:28 <euouae> I'm not saying they're not different, but in an inessential way. You are right the classical one is flip (->)
2021-08-10 06:10:33 Guest45 joins (~Guest45@2001:8004:2728:3231:22e8:8df9:c65:5ea)
2021-08-10 06:10:45 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 268 seconds)
2021-08-10 06:10:51 <euouae> I was just curious if there's some insight of Haskell types with regards to that functor and the Yoneda lemma

All times are in UTC.