on master help sign in
change as suggested
5cd37d8Martin Baker
docs/proofs/primative.rst−13
@@ -419,14 +419,6 @@ Read and Write State
419
419
420 lookupFunDefnExact : TTName -> Elab (FunDefn TT)
420 lookupFunDefnExact : TTName -> Elab (FunDefn TT)
421
421
422− .. code-block:: idris
423−
424− lookupFunDefnExact n = case !(lookupFunDefn n) of
425− [res] => pure res
426− [] => fail [TextPart
427− "No function named", NamePart n]
428− xs => fail [TextPart "More than one function named",
429− NamePart n]
430 * - lookupArgs
422 * - lookupArgs
431 - Get the argument specification for each overloading of a name.
423 - Get the argument specification for each overloading of a name.
432
424
@@ -443,11 +435,6 @@ Read and Write State
443
435
444 .. code-block:: idris
436 .. code-block:: idris
445
437
446− lookupArgsExact n = case !(lookupArgs n) of
447− [res] => pure res
448− [] => fail [NamePart n, TextPart "is not defined."]
449− xs => fail [NamePart n, TextPart "is ambiguous."]
450−
451 * - check
438 * - check
452 - Attempt to type-check a term, getting back itself and its type.
439 - Attempt to type-check a term, getting back itself and its type.
453
440