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. It is of good taste these day to critique Scrumm.
Here are my 2cents Here are my 2cents

View file

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