Skip to content

Commit 254c57b

Browse files
authored
add comment after sorry informing it should be removed (exercism#148)
1 parent a6aeeaa commit 254c57b

File tree

83 files changed

+137
-134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+137
-134
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace Acronym
22

33
def abbreviate (phrase : String) : String :=
4-
sorry
4+
sorry --remove this line and implement the function
55

66
end Acronym
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
namespace AffineCipher
22

33
def encode (phrase : String) (a : Nat) (b : Nat) : Option String :=
4-
sorry
4+
sorry --remove this line and implement the function
55

66
def decode (phrase : String) (a : Nat) (b : Nat) : Option String :=
7-
sorry
7+
sorry --remove this line and implement the function
88

99
end AffineCipher

exercises/practice/all-your-base/AllYourBase.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ namespace AllYourBase
33
def ValidBase := { x : Nat // x >= 2 }
44

55
def rebase (inputBase : ValidBase) (digits : List (Fin inputBase.val)) (outputBase : ValidBase) : List (Fin outputBase.val) :=
6-
sorry
6+
sorry --remove this line and implement the function
77

88
end AllYourBase

exercises/practice/allergies/Allergies.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ inductive Allergen where
1212
deriving BEq, Repr
1313

1414
def allergicTo (allergen : Allergen) (score : Nat) : Bool :=
15-
sorry
15+
sorry --remove this line and implement the function
1616

1717
def list (score : Nat) : List Allergen :=
18-
sorry
18+
sorry --remove this line and implement the function
1919

2020
end Allergies
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace Anagram
22

33
def findAnagrams (subject : String) : List String -> List String :=
4-
sorry
4+
sorry --remove this line and implement the function
55

66
end Anagram
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace ArmstrongNumbers
22

33
def isArmstrongNumber (number : Nat) : Bool :=
4-
sorry
4+
sorry --remove this line and implement the function
55

66
end ArmstrongNumbers
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
namespace AtbashCipher
22

33
def encode (phrase : String) : String :=
4-
sorry
4+
sorry --remove this line and implement the function
55

66
def decode (phrase : String) : String :=
7-
sorry
7+
sorry --remove this line and implement the function
88

99
end AtbashCipher

exercises/practice/bank-account/BankAccount.lean

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ structure Account where
55
-- it must be able to handle parallel transactions
66

77
def Account.create : IO Account :=
8-
sorry
8+
sorry --remove this line and implement the function
99

1010
def Account.open (account : Account) : IO Unit :=
11-
sorry
11+
sorry --remove this line and implement the function
1212

1313
def Account.close (account : Account) : IO Unit :=
14-
sorry
14+
sorry --remove this line and implement the function
1515

1616
def Account.deposit (amount : Nat) (account : Account) : IO Unit :=
17-
sorry
17+
sorry --remove this line and implement the function
1818

1919
def Account.withdraw (amount : Nat) (account : Account) : IO Unit :=
20-
sorry
20+
sorry --remove this line and implement the function
2121

2222
def Account.balance (account : Account) : IO Nat :=
23-
sorry
23+
sorry --remove this line and implement the function
2424

2525
end BankAccount
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace BinarySearch
22

33
def find (value : Int) (array : Array Int) : Option Nat :=
4-
sorry
4+
sorry --remove this line and implement the function
55

66
end BinarySearch

exercises/practice/bob/Bob.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace Bob
22

33
def response (heyBob : String) : String :=
4-
sorry
4+
sorry --remove this line and implement the function
55

66
end Bob

0 commit comments

Comments
 (0)