We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
it
1 parent 54d7102 commit 7e1d1ebCopy full SHA for 7e1d1eb
CHANGELOG.md
@@ -914,6 +914,11 @@ Other minor additions
914
_<+>_ : String → String → String -- space-introducing append
915
```
916
917
+* Added utility function to `Function.Base`:
918
+ ```agda
919
+ it : {A : Set a} → {{A}} → A
920
+ ```
921
+
922
Version 2.6.1 changes
923
=====================
924
src/Function/Base.agda
@@ -175,3 +175,8 @@ A ∋ x = x
175
176
typeOf : {A : Set a} → A → Set a
177
typeOf {A = A} _ = A
178
179
+-- Construct an element of the given type by instance search.
180
181
+it : {A : Set a} → {{A}} → A
182
+it {{x}} = x
0 commit comments