├── .github └── workflows │ ├── gh-pages.yml │ └── pr.yml ├── .gitignore ├── .vscode ├── configurationCache.log ├── dryrun.log ├── settings.json └── targets.log ├── Makefile ├── README.md ├── book ├── chapters.json └── chapters │ ├── basics │ ├── hello-world │ │ ├── chapter.json │ │ ├── console │ │ ├── flake.lock │ │ └── flake.nix │ └── setup │ │ ├── chapter.json │ │ └── console │ ├── flakes │ ├── devshells │ │ ├── chapter.json │ │ ├── console │ │ └── flake.nix │ ├── flake-utils │ │ ├── chapter.json │ │ └── flake.nix │ ├── overlays │ │ ├── chapter.json │ │ └── flake.nix │ └── packaging │ │ ├── chapter.json │ │ ├── console │ │ ├── flake.nix │ │ └── hello.c │ └── language │ ├── functions │ ├── chapter.json │ └── repl │ ├── let-in │ ├── chapter.json │ └── repl │ └── repl │ ├── chapter.json │ ├── console │ └── repl ├── flake.lock ├── flake.nix ├── templates ├── chapter.html └── index.html └── tools ├── .ocamlformat ├── README.md ├── bin ├── dune └── main.ml ├── byexample.opam ├── dune-project └── lib ├── byexample.ml ├── dune └── watch.ml /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/.github/workflows/gh-pages.yml -------------------------------------------------------------------------------- /.github/workflows/pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/.github/workflows/pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _build 2 | dist 3 | .direnv 4 | -------------------------------------------------------------------------------- /.vscode/configurationCache.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/.vscode/configurationCache.log -------------------------------------------------------------------------------- /.vscode/dryrun.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/.vscode/dryrun.log -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "makefile.extensionOutputFolder": "./.vscode" 3 | } -------------------------------------------------------------------------------- /.vscode/targets.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/.vscode/targets.log -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/README.md -------------------------------------------------------------------------------- /book/chapters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters.json -------------------------------------------------------------------------------- /book/chapters/basics/hello-world/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/basics/hello-world/chapter.json -------------------------------------------------------------------------------- /book/chapters/basics/hello-world/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/basics/hello-world/console -------------------------------------------------------------------------------- /book/chapters/basics/hello-world/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/basics/hello-world/flake.lock -------------------------------------------------------------------------------- /book/chapters/basics/hello-world/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/basics/hello-world/flake.nix -------------------------------------------------------------------------------- /book/chapters/basics/setup/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/basics/setup/chapter.json -------------------------------------------------------------------------------- /book/chapters/basics/setup/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/basics/setup/console -------------------------------------------------------------------------------- /book/chapters/flakes/devshells/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/devshells/chapter.json -------------------------------------------------------------------------------- /book/chapters/flakes/devshells/console: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /book/chapters/flakes/devshells/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/devshells/flake.nix -------------------------------------------------------------------------------- /book/chapters/flakes/flake-utils/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/flake-utils/chapter.json -------------------------------------------------------------------------------- /book/chapters/flakes/flake-utils/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/flake-utils/flake.nix -------------------------------------------------------------------------------- /book/chapters/flakes/overlays/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/overlays/chapter.json -------------------------------------------------------------------------------- /book/chapters/flakes/overlays/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/overlays/flake.nix -------------------------------------------------------------------------------- /book/chapters/flakes/packaging/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/packaging/chapter.json -------------------------------------------------------------------------------- /book/chapters/flakes/packaging/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/packaging/console -------------------------------------------------------------------------------- /book/chapters/flakes/packaging/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/packaging/flake.nix -------------------------------------------------------------------------------- /book/chapters/flakes/packaging/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/flakes/packaging/hello.c -------------------------------------------------------------------------------- /book/chapters/language/functions/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/language/functions/chapter.json -------------------------------------------------------------------------------- /book/chapters/language/functions/repl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/language/functions/repl -------------------------------------------------------------------------------- /book/chapters/language/let-in/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/language/let-in/chapter.json -------------------------------------------------------------------------------- /book/chapters/language/let-in/repl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/language/let-in/repl -------------------------------------------------------------------------------- /book/chapters/language/repl/chapter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/language/repl/chapter.json -------------------------------------------------------------------------------- /book/chapters/language/repl/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/language/repl/console -------------------------------------------------------------------------------- /book/chapters/language/repl/repl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/book/chapters/language/repl/repl -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/flake.nix -------------------------------------------------------------------------------- /templates/chapter.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/templates/chapter.html -------------------------------------------------------------------------------- /templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/templates/index.html -------------------------------------------------------------------------------- /tools/.ocamlformat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/tools/README.md -------------------------------------------------------------------------------- /tools/bin/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/tools/bin/dune -------------------------------------------------------------------------------- /tools/bin/main.ml: -------------------------------------------------------------------------------- 1 | let () = Byexample.main () 2 | -------------------------------------------------------------------------------- /tools/byexample.opam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/tools/byexample.opam -------------------------------------------------------------------------------- /tools/dune-project: -------------------------------------------------------------------------------- 1 | (lang dune 2.8) 2 | 3 | (name byexample) 4 | -------------------------------------------------------------------------------- /tools/lib/byexample.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/tools/lib/byexample.ml -------------------------------------------------------------------------------- /tools/lib/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/tools/lib/dune -------------------------------------------------------------------------------- /tools/lib/watch.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimoo/nixbyexample/HEAD/tools/lib/watch.ml --------------------------------------------------------------------------------