Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Debug.nyi() to Debug.todo() #53

Merged
merged 4 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Array.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Iter "IterType";
import Order "Order";
import Result "Result";
import Prim "mo:⛔";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Bool.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// Boolean types and operations

import Prim "mo:⛔";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
4 changes: 2 additions & 2 deletions src/Debug.mo
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ module {
Prim.trap errorMessage
};

public func nyi() : None {
trap("Debug.nyi()")
public func todo() : None {
trap("Debug.todo()")
};

public func unreachable() : None {
Expand Down
2 changes: 1 addition & 1 deletion src/Float.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Prim "mo:⛔";
import Int "Int";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Hash.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Prim "mo:⛔";
import Iter "Iter";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Int.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Prim "mo:⛔";
import Hash "Hash";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/InternetComputer.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// Originally `ExperimentalInternetComputer.mo`

import Prim "mo:⛔";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Iter.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Type "IterType";
import Order "Order";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/List.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Iter "Iter";
import Order "Order";
import Result "Result";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {
public type List<T> = (); // Placeholder
Expand Down
2 changes: 1 addition & 1 deletion src/Map.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Pure "pure/Map";
import Iter "Iter";
import Order "Order";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Nat.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Int "Int";
import Order "Order";
import Prim "mo:⛔";
import Char "Char";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Principal.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Hash "Hash";
import Order "Order";
import Array "Array";
import Text "Text";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Queue.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Iter "Iter";
import Pure "pure/Queue";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Result.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// Error handling with the Result type

import Order "Order";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Set.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Pure "pure/Set";
import Iter "Iter";
import Order "Order";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Stack.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Pure "pure/Stack";
import Result "Result";
import Order "Order";
import Iter "Iter";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/Text.mo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Hash "Hash";
import Iter "Iter";
import Order "Order";
import Prim "mo:⛔";
import { nyi = todo } "Debug";
import { todo } "Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/pure/Map.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Order "../Order";
import Iter "../Iter";
import { nyi = todo } "../Debug";
import { todo } "../Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/pure/Queue.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Iter "../Iter";
import Stack "Stack";
import { nyi = todo } "../Debug";
import { todo } "../Debug";

module {
public type Queue<T> = (Stack.Stack<T>, Stack.Stack<T>);
Expand Down
2 changes: 1 addition & 1 deletion src/pure/Set.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Iter "../Iter";
import Order "../Order";
import { nyi = todo } "../Debug";
import { todo } "../Debug";

module {

Expand Down
2 changes: 1 addition & 1 deletion src/pure/Stack.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Array "../Array";
import Iter "../IterType";
import Order "../Order";
import Result "../Result";
import { nyi = todo } "../Debug";
import { todo } "../Debug";

module {

Expand Down
Loading