fix import styling
This commit is contained in:
parent
7d47d4aa4e
commit
b7af0be9b2
3 changed files with 39 additions and 11 deletions
|
|
@ -1,15 +1,18 @@
|
|||
{nib, ...}: let
|
||||
Err = nib.types.Err;
|
||||
Ok' = nib.types.Ok';
|
||||
firstErr = nib.types.firstErr;
|
||||
inherit
|
||||
(nib.types)
|
||||
Err
|
||||
Ok'
|
||||
firstErr
|
||||
unwrapSome
|
||||
isTerminal
|
||||
unwrapTerminal
|
||||
;
|
||||
|
||||
unwrapSome = nib.types.unwrapSome;
|
||||
|
||||
isTerminal = nib.types.isTerminal;
|
||||
unwrapTerminal = nib.types.unwrapTerminal;
|
||||
|
||||
mapAttrsRecursiveCond = nib.std.mapAttrsRecursiveCond;
|
||||
attrValueAt = nib.std.attrValueAt;
|
||||
inherit
|
||||
(nib.std)
|
||||
attrValueAt
|
||||
;
|
||||
in rec {
|
||||
cmpStructErr' = errBadKeys: errBadValues: path: S: T:
|
||||
if builtins.isAttrs S && builtins.isAttrs T
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
{nib, ...}: let
|
||||
foldl = nib.std.foldl;
|
||||
inherit
|
||||
(builtins)
|
||||
all
|
||||
attrNames
|
||||
elemAt
|
||||
filter
|
||||
hasAttr
|
||||
isAttrs
|
||||
length
|
||||
listToAttrs
|
||||
mapAttrs
|
||||
;
|
||||
|
||||
inherit
|
||||
(nib.std)
|
||||
foldl
|
||||
;
|
||||
|
||||
inherit
|
||||
(nib.types)
|
||||
nullableToMaybe
|
||||
|
|
|
|||
|
|
@ -1,4 +1,12 @@
|
|||
{nib, ...}: let
|
||||
inherit
|
||||
(builtins)
|
||||
concatMap
|
||||
elemAt
|
||||
foldl'
|
||||
genList
|
||||
length
|
||||
;
|
||||
inherit
|
||||
(nib.std)
|
||||
min
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue