Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Nix-repl aborts on displaying the result of a __functor #33

Open
moretea opened this issue Jun 27, 2016 · 1 comment
Open

Nix-repl aborts on displaying the result of a __functor #33

moretea opened this issue Jun 27, 2016 · 1 comment

Comments

@moretea
Copy link

moretea commented Jun 27, 2016

See the trace below.

[maarten@maarten-laptop:~/nixpkgs]$ nix-repl 
Welcome to Nix version 1.11.2. Type :? for help.

nix-repl> builtins.tail (({ __functor = self: arg: [(self.x) arg]; x=1; }) "a")
[ "a" ]

nix-repl> builtins.head (({ __functor = self: arg: [(self.x) arg]; x=1; }) "a")
1

nix-repl> ({ __functor = self: arg: [(self.x) arg]; x=1; }) "a"
[ Aborted
@moretea
Copy link
Author

moretea commented Jun 27, 2016

I encountered this in Berlin with @fkz

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant