2024/04/28

Newest at the top

2024-04-28 12:39:46 +0200euleritian(~euleritia@2a02:810a:b00:1568:71f7:8ec:15a3:342f)
2024-04-28 12:39:40 +0200 <tomsmeding> what do you mean with "with accurate timestamp"?
2024-04-28 12:39:28 +0200euleritian(~euleritia@dynamic-176-007-168-231.176.7.pool.telefonica.de) (Read error: Connection reset by peer)
2024-04-28 12:39:18 +0200 <ski> there's no Javascript is the more annoying thing)
2024-04-28 12:39:12 +0200 <ski> "would it be acceptable if I put the "raw" link there only if there is no javascript?" -- okay, i guess, if you think it clutters the interface up too much otherwise ? (i suppose i'd prefer to have the link, regardless, so i don't have to hunt through the page source for it, if i'd like to e.g. download (e.g. with accurate timestamp, if available) or link directly to the raw text. but having it available if
2024-04-28 12:36:56 +0200Guest83(~Guest83@79.113.204.176) (Client Quit)
2024-04-28 12:36:21 +0200 <ski> "that's a separate issue" referred to it being separate from the issue being able to put a type ascription on the whole definiendum (as well as to name tyvars in opened existentials, for that matter)
2024-04-28 12:35:15 +0200 <tomsmeding> (with working JS you get the source with just select-all, copy)
2024-04-28 12:34:44 +0200 <tomsmeding> I'm just thinking to hide that link if there is JS so that it doesn't clutter the UI for the majority of users, only for those for whom it would help
2024-04-28 12:34:35 +0200wootehfoot(~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
2024-04-28 12:34:24 +0200 <tomsmeding> I don't think it's worth the effort to make it work better in a no-JS environment, but I now see that having a "raw" link would be terribly useful in that case, so I'll add that
2024-04-28 12:34:05 +0200Guest83(~Guest83@79.113.204.176)
2024-04-28 12:33:39 +0200 <tomsmeding> if you open the playground without JS it's completely nonfunctional anyway, even in a state-of-the-art graphical browser
2024-04-28 12:33:15 +0200 <ski> well, opening it in W3m shows me the buttons (but they are not clickable, unlike other buttons on many pages), and doesn't show the source at all (neither readable, or with garbled formatting, as some paste sites do)
2024-04-28 12:32:44 +0200 <tomsmeding> would it be acceptable if I put the "raw" link there only if there is no javascript?
2024-04-28 12:32:24 +0200 <ski> maybe beside the "Save & share code" button ?
2024-04-28 12:31:38 +0200 <tomsmeding> heh opening the playground in elinks gives absolutely nothing useful
2024-04-28 12:31:31 +0200 <ski> (another reason to open in terminal browser is so i can access the session, running under GNU Screen, from elsewhere. this also works with X forwarding of images (which W3m can display))
2024-04-28 12:31:24 +0200wootehfoot(~wootehfoo@user/wootehfoot)
2024-04-28 12:31:09 +0200 <tomsmeding> where should I put the link though, suggestions?
2024-04-28 12:30:46 +0200 <ski> (atm i just rebooted $GRAPHICAL_BROWSER, since it was lagging and not responding. only just done so that i can check out the page in it)
2024-04-28 12:30:12 +0200 <tomsmeding> ah!
2024-04-28 12:30:05 +0200 <ski> it would be useful, sure, tomsmeding. i very commonly open pastes in terminal browser (without Javascript)
2024-04-28 12:30:04 +0200 <tomsmeding> my playground example works back to 8.4.4 :p
2024-04-28 12:29:43 +0200 <yin> ski: right
2024-04-28 12:29:24 +0200 <ski> yea, i tested in GHCi (just before i asked lambdabot), and concluded it worked (also testing whether `map' here was actually polymorphic, by applying it at different types), and so concluding it must not have worked at some point, and later got fixed
2024-04-28 12:29:19 +0200ph88(~ph88@ip5b403f30.dynamic.kabel-deutschland.de) (Quit: Leaving)
2024-04-28 12:28:56 +0200 <tomsmeding> and indeed, there's no raw link at that page; would you want one ski?
2024-04-28 12:28:26 +0200 <tomsmeding> you _do_ bind a and b that way
2024-04-28 12:28:25 +0200 <ski> that would be impredicative, not existential, yin
2024-04-28 12:28:16 +0200 <tomsmeding> so ski your last "that's a separate issue" parenthetical seems to be false
2024-04-28 12:28:07 +0200 <lambdabot> Unknown command, try @list
2024-04-28 12:28:07 +0200 <yin> @(forall a. a)
2024-04-28 12:27:55 +0200 <tomsmeding> in fact, if you change the called function (in the body) to foo2 everywhere, all cases work, even foo0
2024-04-28 12:27:35 +0200 <ski> yes, yin
2024-04-28 12:27:29 +0200 <ski> hm, there's no raw link at that page ?
2024-04-28 12:27:28 +0200 <yin> do we need existential type applications? :p
2024-04-28 12:26:59 +0200 <tomsmeding> ah no I'm not surprised about foo3
2024-04-28 12:26:26 +0200 <tomsmeding> and I'm even more surprised that foo1 works but foo3 doesn't
2024-04-28 12:26:13 +0200 <tomsmeding> to be honest I'm kind of surprised that foo3 doesn't work; I'm not sure what to expect with foo0
2024-04-28 12:25:43 +0200wootehfoot(~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
2024-04-28 12:24:35 +0200 <tomsmeding> in your last parenthetical
2024-04-28 12:24:27 +0200 <ski> i'm pretty sure the former (or another example that also tested the same thing) also didn't work, at some point
2024-04-28 12:24:21 +0200 <tomsmeding> ski: were you talking about the foo0 behaviour?
2024-04-28 12:24:06 +0200 <tomsmeding> https://play.haskell.org/saved/AwWkZI0A
2024-04-28 12:23:27 +0200Square(~Square@user/square)
2024-04-28 12:22:16 +0200 <yin> awful error message :p
2024-04-28 12:22:15 +0200__monty__(~toonn@user/toonn)
2024-04-28 12:21:39 +0200 <lambdabot> <hint>:1:5: error: Parse error in pattern: map
2024-04-28 12:21:38 +0200 <ski> > let map (f :: a -> b) (xs0 :: [a]) :: [b] = case xs0 of [] -> []; x:xs -> f x : map f xs in map (^ 2) [2,3,5,7]