naming convention enforced

This commit is contained in:
Yann Esposito (Yogsototh) 2020-05-03 13:43:04 +02:00
parent 4bac995a5a
commit f7c5c97a3b
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
13 changed files with 3 additions and 37 deletions

View File

@ -1,4 +1,4 @@
#+Title:On Scrumm
#+Title: On Scrumm
It is of good taste these day to critique Scrumm.
Here are my 2cents

View File

@ -1,5 +1,5 @@
#+title: Solaryzed: A Generalisation of Solarized
#+date: [2020-03-01 Sun]
#+title: My story about colorscheme
#+date: [2020-05-03 Sun]
#+author: Yann Esposito
#+EMAIL: yann@esposito.host
#+KEYWORDS: colorscheme

View File

@ -1,34 +0,0 @@
#+TITLE: Haskell Design Pattern in Clojure
#+SUBTITLE: Some classical haskell tricks equivalent in Clojure
#+AUTHOR: Yann Esposito
#+EMAIL: yann@esposito.host
#+DATE: [2019-11-07 Thu]
#+KEYWORDS: programming
#+DESCRIPTION: LISP to simulate Haskell
#+OPTIONS: auto-id:t
#+begin_notes
TL;DR: Some clever Haskell trick can in fact be simulated quite efficiently
with Clojure.
#+end_notes
* Monads
:PROPERTIES:
:CUSTOM_ID: monads
:END:
#+begin_src haskell
fullName :: Maybe Text -> Maybe Text -> Maybe Text
fullName firstName lastName = do
x <- firstName
y <- lastName
result <- return (x <> y)
ask :: IO (Maybe Text)
ask = do
l <- readLine
return $ if null l then Nothing else Just l
askName <- fullName <$> ask "What is your first name?"
<*> ask "What is your last name?"
#+end_src