correct all std paths

This commit is contained in:
Emile Clark-Boman 2026-01-28 13:51:35 +10:00
parent d6ab2fdf72
commit 3974b5afcd
7 changed files with 33 additions and 36 deletions

View file

@ -10,10 +10,6 @@
inherit
(nt)
enfIsPrimitive
;
inherit
(nt.std)
hasInfix
mergeAttrsList
nameValuePair

View file

@ -10,7 +10,7 @@
;
inherit
(nt.parse)
(nt)
projectOnto
;
in {

View file

@ -10,28 +10,28 @@
inherit
(this)
enfIsType
enfIsClassSig
ntTrapdoorKey
parseClassSig
typeSig
;
inherit
(this.trapdoor)
mkTrapdoorSet
;
inherit
(this.std)
flip
hasAttrAt
projectOnto
recdef
removeAttrsRec
;
inherit
(this.parse)
enfIsClassSig
hasAttrAt
mkTrapdoorSet
ntTrapdoorKey
parseClassSig
projectOnto
;
inherit
(this.types)
(this.std.terminal)
Terminal
;

View file

@ -11,22 +11,23 @@
toTypeSig
;
inherit
(this.std)
contains
;
inherit
(this.maybe)
isSome
bindMaybe
;
inherit
(this.trapdoor)
mkTrapdoorKey
openTrapdoor
;
inherit
(this.std)
contains
not
;
inherit
(this.std.maybe)
isSome
bindMaybe
;
in rec {
ntTrapdoorKey = mkTrapdoorKey "nt";
ntDynamicTrapdoorKey = mkTrapdoorKey "ntDyn";
@ -34,7 +35,7 @@ in rec {
openNT = openTrapdoor ntTrapdoorKey;
# check if a value is NOT NixTypes compatible
isPrimitive = ! isNT;
isPrimitive = not isNT;
# check if a value is NixTypes compatible
isNT = T:

View file

@ -14,12 +14,6 @@
openNT
;
inherit
(this.maybe)
bindMaybe
isSome
;
inherit
(this.std)
filterEven
@ -29,6 +23,12 @@
stringHead
stringTail
;
inherit
(this.std.maybe)
bindMaybe
isSome
;
in rec {
parseSig = sig: let
result = split "::" sig |> filterEven;

View file

@ -11,7 +11,7 @@
;
inherit
(this.maybe)
(this.std.maybe)
Some
None
;

View file

@ -7,7 +7,7 @@
;
inherit
(this.std)
(this)
enfIsAttrs
;