Use commonly familiar ones, which do not require a math background. Like:
- Text and words
- Simple Websites
- Simple arithmetic
| #!/usr/bin/env bash | |
| set -Eeuo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/#:~:text=set%20%2Du,is%20often%20highly%20desirable%20behavior. | |
| shopt -s expand_aliases | |
| SOURCE_LANG=$1 | |
| TARGET_LANG=$2 | |
| TEXT=$3 | |
| ENGINE=${4-google} | |
| CACHEFILE="$HOME/.cache/trans_cache.sqlite" |
I hereby claim:
A Monad is something that supports flatMap.
Examples: Option, List, Future
flatMap is the same as >>= in Haskell.
For testing purposes, the easiest way to go is jitpack:
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies += "com.github.User" % "Repo" % "Tag"