Skip to content

Commit d59c628

Browse files
mariarilukaszcz
authored andcommitted
Losen the Constraints on the Partial Trait
Partial trait relied upon import Stdlib.Data.String.Base open; which indirectly relies upon list, we loosen the restriction to just rely on the String type itself. This lets us move some functions around to the base module
1 parent b50851a commit d59c628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Stdlib/Debug/Fail.juvix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Stdlib.Debug.Fail;
22

3-
import Stdlib.Data.String.Base open;
3+
import Juvix.Builtin.V1.String open;
44

55
--- Exit the program with an error message.
66
builtin fail

Stdlib/Trait/Partial.juvix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Stdlib.Trait.Partial;
22

3-
import Stdlib.Data.String.Base open;
3+
import Juvix.Builtin.V1.String open;
44
import Stdlib.Debug.Fail as Debug;
55

66
trait

0 commit comments

Comments
 (0)