Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.
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

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions