1// Generated by purs version 0.13.6
3var Control_Plus = require("../Control.Plus/index.js");
4var Data_Functor = require("../Data.Functor/index.js");
5var Data_Show = require("../Data.Show/index.js");
6var NonEmpty = (function () {
7 function NonEmpty(value0, value1) {
11 NonEmpty.create = function (value0) {
12 return function (value1) {
13 return new NonEmpty(value0, value1);
18var singleton = function (dictPlus) {
20 return new NonEmpty(a, Control_Plus.empty(dictPlus));
23var showNonEmpty = function (dictShow) {
24 return function (dictShow1) {
25 return new Data_Show.Show(function (v) {
26 return "(NonEmpty " + (Data_Show.show(dictShow)(v.value0) + (" " + (Data_Show.show(dictShow1)(v.value1) + ")")));
30var functorNonEmpty = function (dictFunctor) {
31 return new Data_Functor.Functor(function (f) {
33 return new NonEmpty(f(m.value0), Data_Functor.map(dictFunctor)(f)(m.value1));
40 showNonEmpty: showNonEmpty,
41 functorNonEmpty: functorNonEmpty
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list