Skip to content

Commit

Permalink
Rename to debug.term|type.abt
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed Feb 1, 2024
1 parent 6706b2e commit db15634
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions unison-cli/src/Unison/CommandLine/InputPatterns.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,7 @@ debugDumpNamespaceSimple =
debugTerm :: InputPattern
debugTerm =
InputPattern
"debug.term"
"debug.term.abt"
[]
I.Hidden
[("term", Required, exactDefinitionTermQueryArg)]
Expand All @@ -2291,7 +2291,7 @@ debugTerm =
debugTermVerbose :: InputPattern
debugTermVerbose =
InputPattern
"debug.term.verbose"
"debug.term.abt.verbose"
[]
I.Hidden
[("term", Required, exactDefinitionTermQueryArg)]
Expand All @@ -2304,7 +2304,7 @@ debugTermVerbose =
debugType :: InputPattern
debugType =
InputPattern
"debug.type"
"debug.type.abt"
[]
I.Hidden
[("type", Required, exactDefinitionTypeQueryArg)]
Expand Down
14 changes: 7 additions & 7 deletions unison-src/transcripts/debug-definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ ability Ask a where

```ucm
.> add
.> debug.term Nat.+
.> debug.term y
.> debug.term Some
.> debug.term ask
.> debug.type Nat
.> debug.type Optional
.> debug.type Ask
.> debug.term.abt Nat.+
.> debug.term.abt y
.> debug.term.abt Some
.> debug.term.abt ask
.> debug.type.abt Nat
.> debug.type.abt Optional
.> debug.type.abt Ask
```
14 changes: 7 additions & 7 deletions unison-src/transcripts/debug-definitions.output.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ ability Ask a where
x : Nat
y : Nat
.> debug.term Nat.+
.> debug.term.abt Nat.+
Builtin term: ##Nat.+
.> debug.term y
.> debug.term.abt y
(let Ref(ReferenceBuiltin "Nat.+") Ref(ReferenceDerived (Id "qpo3o788girkkbb43uf6ggqberfduhtnqbt7096eojlrp27jieco09mdasb7b0b06ej9hj60a00nnbbdo8he0b4e0m7vtopifiuhdig" 0)) 2 in (User "z". Ref(ReferenceBuiltin "Nat.+") (Var User "z") 10)):ReferenceBuiltin "Nat"
.> debug.term Some
.> debug.term.abt Some
Constructor #0 of the following type:
DataDeclaration
Expand Down Expand Up @@ -61,7 +61,7 @@ ability Ask a where
]
}
.> debug.term ask
.> debug.term.abt ask
Constructor #0 of the following type:
EffectDeclaration
Expand Down Expand Up @@ -90,11 +90,11 @@ ability Ask a where
}
}
.> debug.type Nat
.> debug.type.abt Nat
Builtin type: ##Nat
.> debug.type Optional
.> debug.type.abt Optional
DataDeclaration
{ modifier = Structural
Expand Down Expand Up @@ -123,7 +123,7 @@ ability Ask a where
]
}
.> debug.type Ask
.> debug.type.abt Ask
EffectDeclaration
{ toDataDecl = DataDeclaration
Expand Down

0 comments on commit db15634

Please sign in to comment.