Logs on 2023-10-31 (liberachat/#xmonad)
| 00:01:20 | × | sometypeofuser quits (~user@92.40.184.196.threembb.co.uk) (Quit: Leaving) |
| 01:27:34 | → | hightower4 joins (~hightower@203-128.dsl.iskon.hr) |
| 01:30:16 | × | hightower3 quits (~hightower@141-136-161-29.dsl.iskon.hr) (Ping timeout: 258 seconds) |
| 02:16:19 | × | defjam quits (~defjam@2a02:c7e:2807:b900:ac13:d447:79b2:3f03) (Ping timeout: 245 seconds) |
| 02:28:45 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 02:33:05 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
| 02:50:50 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 03:05:35 | × | td_ quits (~td@i5387092F.versanet.de) (Ping timeout: 240 seconds) |
| 03:07:44 | → | td_ joins (~td@i53870904.versanet.de) |
| 03:11:08 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds) |
| 03:39:54 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 06:37:39 | → | chomwitt joins (~chomwitt@2a02:587:7a1a:f800:1ac0:4dff:fedb:a3f1) |
| 08:21:23 | × | tv quits (~tv@user/tv) (Ping timeout: 255 seconds) |
| 08:34:53 | → | tv joins (~tv@user/tv) |
| 09:26:31 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 09:55:31 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds) |
| 10:08:35 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 10:11:10 | → | cfricke joins (~cfricke@user/cfricke) |
| 10:22:53 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
| 10:30:18 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 11:52:15 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 240 seconds) |
| 12:05:47 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 12:10:20 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds) |
| 12:14:53 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 13:12:26 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 272 seconds) |
| 13:40:48 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 13:43:57 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.0.5) |
| 13:46:52 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds) |
| 13:58:20 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 14:04:28 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 252 seconds) |
| 14:17:00 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 14:24:05 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 240 seconds) |
| 14:37:12 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 14:48:57 | → | vantablu3 joins (~vantablu3@2a00:a200:0:802:900:27dd:3be3:de61) |
| 14:50:44 | × | vantablu3 quits (~vantablu3@2a00:a200:0:802:900:27dd:3be3:de61) (Client Quit) |
| 14:55:08 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
| 14:56:06 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 15:14:07 | × | hightower4 quits (~hightower@203-128.dsl.iskon.hr) (Ping timeout: 264 seconds) |
| 16:08:24 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 245 seconds) |
| 16:16:11 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 16:18:19 | <haskellbridge> | <beastwick> Hi everyone, how does one extract a value out of an X object? I have a X (Maybe String) that I am trying to pass to a fromMaybe. |
| 16:28:36 | → | hightower2 joins (~hightower@213.186.15.36) |
| 16:28:48 | <geekosaur> | you don't, generally |
| 16:28:55 | <geekosaur> | @where IOtut |
| 16:28:55 | <lambdabot> | https://www.vex.net/~trebla/haskell/IO.xhtml |
| 16:29:53 | <geekosaur> | if you're not already in X then you don't have access to xmonad's state and therefore can't get there |
| 16:38:46 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds) |
| 16:52:57 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 16:58:31 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds) |
| 16:58:58 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 17:04:14 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 272 seconds) |
| 17:26:48 | × | srk quits (~sorki@user/srk) (Quit: ZNC 1.8.1 - https://znc.in) |
| 17:30:12 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 17:33:13 | → | srk joins (~sorki@user/srk) |
| 17:36:19 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds) |
| 17:47:42 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 17:52:09 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 245 seconds) |
| 18:04:25 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 19:06:41 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 255 seconds) |
| 19:09:44 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 19:19:48 | <haskellbridge> | <beastwick> , ((mod4Mask .|. controlMask, xK_r), spawn (fromMaybe "" (inputPrompt def ""))) basically I want to start a program without seeing the terminal/console |
| 19:19:56 | <haskellbridge> | <beastwick> but I don't want to hard code the program |
| 19:20:04 | <haskellbridge> | <beastwick> also the program needs a parameter that changes |
| 19:20:27 | <haskellbridge> | <beastwick> inputPrompt :: XPConfig -> String -> X (Maybe String) |
| 19:20:37 | <haskellbridge> | <beastwick> how do you use something then that returns an X (Maybe String) |
| 19:20:49 | <haskellbridge> | <beastwick> would be a lot simpler if it just returned a Maybe String |
| 19:25:24 | <geekosaur> | you should build the string in X and pass it to spawn with >>= |
| 19:26:02 | <geekosaur> | and if it returns a Maybe String then it can't do I/O or use xmonad state |
| 19:28:19 | <haskellbridge> | <beastwick> sorry, is there some docs that can show how to do that? |
| 19:32:08 | <geekosaur> | you could start with the one I linked earlier. X is some stuff on top of IO; if you don't understand how IO works then you won't understand X |
| 19:32:13 | <geekosaur> | @where IOtut |
| 19:32:13 | <lambdabot> | https://www.vex.net/~trebla/haskell/IO.xhtml |
| 19:32:32 | <haskellbridge> | <beastwick> thanks |
| 20:30:13 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 22:41:01 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds) |
| 22:50:07 | × | chomwitt quits (~chomwitt@2a02:587:7a1a:f800:1ac0:4dff:fedb:a3f1) (Ping timeout: 264 seconds) |
| 23:10:48 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
All times are in UTC on 2023-10-31.