1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2024-12-25 12:42:02 +03:00
Idris2/tests/idris2/interactive005/input
Edwin Brady 6d96341776 Reorganise expression search
Rather than returning a complete list of results, return a pair of the
first result, and a continuation. The continuation explains how to
continue the search if the given result is deemed unacceptable (either
on encountering an error somewhere, or just if the caller wants the next
result).

This means we don't search needlessly if we're only looking for the
first result. Fixes 
2020-07-26 17:34:24 +01:00

11 lines
133 B
Plaintext

:gd 7 my_cong
:gd 9 my_curry
:gd 11 my_uncurry
:gd 13 append
:gd 15 lappend
:gd 17 zipWith
:gd 29 lookup
:gd 35 foo
:t my_uncurry
:q