chemoelectric

Demo of nix-let*

Dec 12th, 2025
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. scheme --program <(echo '(import(rnrs)(pipchix base))(output-nix-ast (nix-let* ((`a ==> 1)(`b ==> (© `a))(`c ==> (© `b))) (© (© (© `c)))))')|nixfmt
  2. (
  3. let
  4. a = (1);
  5. in
  6. (
  7. (
  8. let
  9. b = a;
  10. in
  11. (
  12. (
  13. let
  14. c = b;
  15. in
  16. ("${"${c}"}")
  17. )
  18. )
  19. )
  20. )
  21. )
  22.  
Advertisement
Add Comment
Please, Sign In to add comment