2024/05/13

Newest at the top

2024-05-13 05:06:46 +0200emmanuelux(~emmanuelu@user/emmanuelux) (Quit: au revoir)
2024-05-13 05:01:47 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds)
2024-05-13 05:01:11 +0200Taneb(~Taneb@2001:41c8:51:10d:aaaa:0:aaaa:0)
2024-05-13 05:00:00 +0200Taneb(~Taneb@2001:41c8:51:10d:aaaa:0:aaaa:0) (Quit: I seem to have stopped.)
2024-05-13 04:35:34 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-05-13 04:35:17 +0200euleritian(~euleritia@dynamic-176-001-008-241.176.1.pool.telefonica.de) (Read error: Connection reset by peer)
2024-05-13 04:22:51 +0200phma_(phma@2001:5b0:210b:c738:d0e0:5870:ec8f:f731)
2024-05-13 04:21:26 +0200phma_(~phma@2001:5b0:211b:f8f8:8558:8264:69ae:a8e6) (Read error: Connection reset by peer)
2024-05-13 04:20:21 +0200emmanuelux(~emmanuelu@user/emmanuelux)
2024-05-13 04:16:47 +0200td_(~td@i53870933.versanet.de)
2024-05-13 04:15:44 +0200cyphase(~cyphase@user/cyphase) (Quit: cyphase.com)
2024-05-13 04:15:04 +0200td_(~td@i53870913.versanet.de) (Ping timeout: 268 seconds)
2024-05-13 04:08:47 +0200zzz(~yin@user/zero)
2024-05-13 04:07:08 +0200zzz(~yin@user/zero) (Ping timeout: 256 seconds)
2024-05-13 04:05:37 +0200tv(~tv@user/tv)
2024-05-13 04:05:13 +0200tv(~tv@user/tv) (Quit: derp)
2024-05-13 03:53:12 +0200emmanuelux(~emmanuelu@user/emmanuelux) (Quit: au revoir)
2024-05-13 03:40:05 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-13 03:22:53 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 256 seconds)
2024-05-13 03:20:00 +0200 <lambdabot> 4223
2024-05-13 03:19:59 +0200 <probie> > let something f s = fmap ((read :: String -> Int) . concatMap show) $ f (map digitToInt (show s)) in 123 & something . _head .~ 42
2024-05-13 03:19:46 +0200 <lambdabot> 423
2024-05-13 03:19:44 +0200 <probie> > let something f s = fmap ((read :: String -> Int) . concatMap show) $ f (map digitToInt (show s)) in 123 & something . _head .~ 4
2024-05-13 03:16:18 +0200 <probie> johnw: What do you expect the result of `123 & something . _head .~ 42` to be?
2024-05-13 03:14:57 +0200 <lambdabot> Expected type: ASetter Int String Char Char
2024-05-13 03:14:57 +0200 <lambdabot> • Couldn't match type ‘[Char]’ with ‘Int’
2024-05-13 03:14:57 +0200 <lambdabot> error:
2024-05-13 03:14:56 +0200 <glguy> > (123::Int) & _Show . _head .~ '4' -- ?
2024-05-13 03:14:43 +0200otto_s(~user@p5de2fd19.dip0.t-ipconnect.de)
2024-05-13 03:14:42 +0200 <lambdabot> parse error (possibly incorrect indentation or mismatched brackets)
2024-05-13 03:14:42 +0200 <lambdabot> <hint>:1:38: error:
2024-05-13 03:14:40 +0200 <glguy> > (123::Int) & _Show . _head .~ '4' --?
2024-05-13 03:13:39 +0200otto_s(~user@p4ff27bc4.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
2024-05-13 02:59:31 +0200 <johnw> 123 & something . _head .~ 4 ==> 423
2024-05-13 02:59:25 +0200 <johnw> Is there a lens that will do this:
2024-05-13 02:55:14 +0200 <probie> ropwareJB: Use a pastebin like https://paste.tomsmeding.com/ for things which are more than 3-4 lines
2024-05-13 02:49:43 +0200 <ropwareJB> configureFlags: --verbose --prefix=/nix/store/jq14b9dgm4k5jj134g8lndflxr13m8ib-entropy-0.4.1.10 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/iy0hyw7lvgvgwz54ag86g04sxxjm01fa-entropy-0.4.1.10-doc/share/doc/entropy-0.4.1.10 --with-gcc=gcc --package-db=/build/tmp.S8Sc2uLXHZ/package.conf.d --ghc-options=-j8 +RTS -A64M
2024-05-13 02:49:42 +0200 <ropwareJB> Running phase: configurePhase
2024-05-13 02:49:42 +0200 <ropwareJB> Running phase: updateAutotoolsGnuConfigScriptsPhase
2024-05-13 02:49:41 +0200 <ropwareJB> Linking Setup ...
2024-05-13 02:49:41 +0200 <ropwareJB> [1 of 1] Compiling Main ( Setup.hs, /build/tmp.S8Sc2uLXHZ/Main.o )
2024-05-13 02:49:40 +0200 <ropwareJB> setupCompileFlags: -package-db=/build/tmp.S8Sc2uLXHZ/setup-package.conf.d -j8 +RTS -A64M -RTS -threaded -rtsopts
2024-05-13 02:49:40 +0200 <ropwareJB> Running phase: compileBuildDriverPhase
2024-05-13 02:49:39 +0200 <ropwareJB> Replace Cabal file with edited version from mirror://hackage/entropy-0.4.1.10/revision/1.cabal.
2024-05-13 02:49:39 +0200 <ropwareJB> Running phase: patchPhase
2024-05-13 02:49:38 +0200 <ropwareJB> setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file entropy-0.4.1.10/System/EntropyWindows.hs
2024-05-13 02:49:38 +0200 <ropwareJB> source root is entropy-0.4.1.10
2024-05-13 02:49:37 +0200 <ropwareJB> unpacking source archive /nix/store/sh4n8xmf2ydjgz1qbmr6qr0mzwsv3cxv-entropy-0.4.1.10.tar.gz
2024-05-13 02:49:37 +0200 <ropwareJB> Running phase: unpackPhase
2024-05-13 02:49:36 +0200 <ropwareJB> Build with /nix/store/n3aank8ia8qjqyv0lqslbz1bahpyg59s-ghcjs-8.10.7.