-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand coverage of Elm core libraries for Elm compiler
Expand the coverage of the Elm core libraries for functions used by the Pine module in the Elm compiler: Add test scenarios and implementations for declarations from the 'List' and 'String' modules.
- Loading branch information
Showing
21 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/263/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[3,12] |
1 change: 1 addition & 0 deletions
1
...ment/test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/263/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
List.filterMap String.toInt [ "3", "hi", "12", "4th", "May" ] |
1 change: 1 addition & 0 deletions
1
.../test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/333/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[True,False] |
7 changes: 7 additions & 0 deletions
7
...ment/test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/333/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let | ||
isEven n = | ||
modBy 2 n == 0 | ||
in | ||
[ List.all isEven [ 0, 4, 6 ] | ||
, List.all isEven [ 0, 3, 6 ] | ||
] |
1 change: 1 addition & 0 deletions
1
.../test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/502/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Just 17 |
1 change: 1 addition & 0 deletions
1
...ment/test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/502/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
List.minimum [ 31, 17, 41, 37 ] |
1 change: 1 addition & 0 deletions
1
.../test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/512/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Just 41 |
1 change: 1 addition & 0 deletions
1
...ment/test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/512/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
List.maximum [ 31, 17, 41, 37 ] |
1 change: 1 addition & 0 deletions
1
.../test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/532/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
41 |
1 change: 1 addition & 0 deletions
1
...ment/test-and-train/elm-interactive-scenarios-core/elm-core-list/steps/532/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
List.sum [ 11, 13, 17 ] |
1 change: 1 addition & 0 deletions
1
...est-and-train/elm-interactive-scenarios-core/elm-core-string/steps/510/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"test" |
1 change: 1 addition & 0 deletions
1
...nt/test-and-train/elm-interactive-scenarios-core/elm-core-string/steps/510/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
String.padLeft 3 '-' "test" |
1 change: 1 addition & 0 deletions
1
...est-and-train/elm-interactive-scenarios-core/elm-core-string/steps/511/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"---test" |
1 change: 1 addition & 0 deletions
1
...nt/test-and-train/elm-interactive-scenarios-core/elm-core-string/steps/511/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
String.padLeft 7 '-' "test" |
1 change: 1 addition & 0 deletions
1
...est-and-train/elm-interactive-scenarios-core/elm-core-string/steps/571/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
["alfa","beta"] |
1 change: 1 addition & 0 deletions
1
...nt/test-and-train/elm-interactive-scenarios-core/elm-core-string/steps/571/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
String.lines "alfa\nbeta" |
1 change: 1 addition & 0 deletions
1
...est-and-train/elm-interactive-scenarios-core/elm-core-string/steps/572/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
["alfa","beta"] |
1 change: 1 addition & 0 deletions
1
...nt/test-and-train/elm-interactive-scenarios-core/elm-core-string/steps/572/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
String.lines "alfa\rbeta" |
1 change: 1 addition & 0 deletions
1
...est-and-train/elm-interactive-scenarios-core/elm-core-string/steps/573/expected-value.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
["alfa","beta"] |
1 change: 1 addition & 0 deletions
1
...nt/test-and-train/elm-interactive-scenarios-core/elm-core-string/steps/573/submission.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
String.lines "alfa\r\nbeta" |