Skip to content

Auto-derived Show instance not terminating #92

@fiddlerwoaroof

Description

@fiddlerwoaroof

Running this program (or just running (show q) in a REPL) never terminates.

#lang hackett

(data (Cons a b)
  Nil
  (Cons a (Cons b a))
  #:deriving [Show])

(def q
  (Cons 1
        (Cons "3"
              Nil)))

(main
 (println (show q)))```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions