feat(fun/wcl): Add a simple 'wc' clone in Lisp

Prompted by this thread:
https://lobste.rs/s/zntyeq/wc_d_712_characters_without_single_branch
This commit is contained in:
Vincent Ambo 2020-01-28 21:06:35 +00:00
parent 176b3458b0
commit 1ba3d1cf97
2 changed files with 46 additions and 0 deletions

13
fun/wcl/default.nix Normal file
View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
pkgs.nix.buildLisp.program {
name = "wc";
srcs = [
./wc.lisp
];
deps = with pkgs.third_party.lisp; [
iterate
];
}