Skip to content

Instantly share code, notes, and snippets.

@archaeron
Created May 20, 2015 17:00
Show Gist options
  • Save archaeron/cec8341e626cf4e7cd44 to your computer and use it in GitHub Desktop.
Save archaeron/cec8341e626cf4e7cd44 to your computer and use it in GitHub Desktop.
long Idris ide-mode answer
000473(:return (:ok "Data type Nat : Type
Unary natural numbers
Constructors:
Z : Nat
Zero
S : Nat -> Nat
Successor
" ((10 3 ((:name "Prelude.Nat.Nat") (:implicit :False) (:decor :type) (:doc-overview "Unary natural numbers") (:type "Type") (:namespace "Prelude.Nat"))) (16 4 ((:decor :type) (:type "Type") (:doc-overview "The type of types") (:name "Type"))) (70 1 ((:name "Prelude.Nat.Z") (:implicit :False) (:decor :data) (:doc-overview "Zero") (:type "Nat") (:namespace "Prelude.Nat"))) (74 3 ((:name "Prelude.Nat.Nat") (:implicit :False) (:decor :type) (:doc-overview "Unary natural numbers") (:type "Type") (:namespace "Prelude.Nat"))) (104 1 ((:name "Prelude.Nat.S") (:implicit :False) (:decor :data) (:doc-overview "Successor") (:type "Nat -> Nat") (:namespace "Prelude.Nat"))) (108 3 ((:name "Prelude.Nat.Nat") (:implicit :False) (:decor :type) (:doc-overview "Unary natural numbers") (:type "Type") (:namespace "Prelude.Nat"))) (115 3 ((:name "Prelude.Nat.Nat") (:implicit :False) (:decor :type) (:doc-overview "Unary natural numbers") (:type "Type") (:namespace "Prelude.Nat"))))) 2)
@archaeron
Copy link
Author

000473 hex is 1139 dec

the answer without the first 6 chars is 1147 chars long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment