fix import styling

This commit is contained in:
Emile Clark-Boman 2026-01-15 11:43:20 +10:00
parent 7d47d4aa4e
commit b7af0be9b2
3 changed files with 39 additions and 11 deletions

View file

@ -1,15 +1,18 @@
{nib, ...}: let {nib, ...}: let
Err = nib.types.Err; inherit
Ok' = nib.types.Ok'; (nib.types)
firstErr = nib.types.firstErr; Err
Ok'
firstErr
unwrapSome
isTerminal
unwrapTerminal
;
unwrapSome = nib.types.unwrapSome; inherit
(nib.std)
isTerminal = nib.types.isTerminal; attrValueAt
unwrapTerminal = nib.types.unwrapTerminal; ;
mapAttrsRecursiveCond = nib.std.mapAttrsRecursiveCond;
attrValueAt = nib.std.attrValueAt;
in rec { in rec {
cmpStructErr' = errBadKeys: errBadValues: path: S: T: cmpStructErr' = errBadKeys: errBadValues: path: S: T:
if builtins.isAttrs S && builtins.isAttrs T if builtins.isAttrs S && builtins.isAttrs T

View file

@ -1,5 +1,22 @@
{nib, ...}: let {nib, ...}: let
foldl = nib.std.foldl; inherit
(builtins)
all
attrNames
elemAt
filter
hasAttr
isAttrs
length
listToAttrs
mapAttrs
;
inherit
(nib.std)
foldl
;
inherit inherit
(nib.types) (nib.types)
nullableToMaybe nullableToMaybe

View file

@ -1,4 +1,12 @@
{nib, ...}: let {nib, ...}: let
inherit
(builtins)
concatMap
elemAt
foldl'
genList
length
;
inherit inherit
(nib.std) (nib.std)
min min