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
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

View file

@ -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

View file

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