chemoelectric

Demonstration of nix-let

Dec 13th, 2025
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. chemoelectric-nixos/pipchix/___build___
  2. ❯ (cd r6rs && echo '(import (rnrs)(pipchix base))(output-nix-ast (nix-let ((`a ==> 1)(`b ==> (© `a))(`c ==> (© `b))) (© `c)))' | sagittarius | nixfmt)
  3. (
  4. let
  5. gb4634094-27cb-41ed-925d-2a6e1d7bf5bb1 = (1);
  6. g2b7db5df-2f0c-422c-b8b8-f821c502d7f02 = a;
  7. g9c6221d2-7d51-4179-a41a-01b5540559fc3 = b;
  8. in
  9. (
  10. (
  11. let
  12. a = gb4634094-27cb-41ed-925d-2a6e1d7bf5bb1;
  13. b = g2b7db5df-2f0c-422c-b8b8-f821c502d7f02;
  14. c = g9c6221d2-7d51-4179-a41a-01b5540559fc3;
  15. in
  16. (c)
  17. )
  18. )
  19. )
  20.  
Advertisement
Add Comment
Please, Sign In to add comment