Skip to content

Instantly share code, notes, and snippets.

View Aster89's full-sized avatar
๐Ÿƒ
Foglia nel vento...

Enrico Maria De Angelis Aster89

๐Ÿƒ
Foglia nel vento...
View GitHub Profile
ls -la /usr/lib/tmpfiles.d/
total 296
drwxr-xr-x 2 root root 4096 May 19 16:27 ./
drwxr-xr-x 175 root root 180224 May 19 16:27 ../
-rw-r--r-- 1 root root 259 Jan 19 01:32 arch.conf
==== Timestamps ====
Launch: Fri Apr 2 09:14:02 2021
Crash: Sun Apr 4 16:40:10 2021
==== Version info ====
______ ,,
,.-"` | ,-` |
.^ || |
/ ,-*^| || |
; / | || ;-*```^*.
@Aster89
Aster89 / makingDialogs.hs
Created March 7, 2021 11:14
simple haskell program
data Dialog = WinDialog { render :: IO (), click :: IO () }
| MacDialog { render :: IO (), click :: IO () }
| LnxDialog { render :: IO (), click :: IO () }
askForConfirmThenError :: IO ()
askForConfirmThenError = do
print "Are you sure? [y/n]"
ans <- getLine
if ans == "n"
then print "Ok, (not) done"
Module "/home/enrico/a" is loaded by Cradle: Cradle {cradleRootDir = "/home/enrico", cradleOptsProg = CradleAction: Default}
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 0.8.0.0, Git revision eb58f13f7b8e4f9bc771af30ff9fd82dc4309ff5 (dirty) x86_64 ghc-8.10.1
Current directory: /home/enrico
Operating system: linux
Arguments: ["--lsp"]
Cradle directory: /home/enrico
Cradle type: Default
Tool versions found on the $PATH
cabal: 3.2.0.0
The endless flow on screen has several times proposed the following 5 lines every several minutes
Completed 218 action(s).
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-8.6.5.
Installing GHC ...