diff --git a/implement/test-and-train/elm-interactive-scenarios-kernel/elm-bytes/steps/451/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-kernel/elm-bytes/steps/451/expected-value.txt new file mode 100644 index 00000000..9be9bcf8 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-kernel/elm-bytes/steps/451/expected-value.txt @@ -0,0 +1 @@ +Nothing \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-kernel/elm-bytes/steps/451/submission.txt b/implement/test-and-train/elm-interactive-scenarios-kernel/elm-bytes/steps/451/submission.txt new file mode 100644 index 00000000..d4317621 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-kernel/elm-bytes/steps/451/submission.txt @@ -0,0 +1 @@ +Bytes.Decode.decode (Bytes.Decode.string 8) (Bytes.Encode.encode (Bytes.Encode.string "testing")) \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/context-app/test-src/DecodeExtra.elm b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/context-app/test-src/DecodeExtra.elm new file mode 100644 index 00000000..81012dc3 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/context-app/test-src/DecodeExtra.elm @@ -0,0 +1,25 @@ +module DecodeExtra exposing (..) + +import Bytes.Decode + + +list : Int -> Bytes.Decode.Decoder a -> Bytes.Decode.Decoder (List a) +list length aDecoder = + Bytes.Decode.loop + ( length, [] ) + (listStep aDecoder) + + +listStep : + Bytes.Decode.Decoder a + -> ( Int, List a ) + -> Bytes.Decode.Decoder (Bytes.Decode.Step ( Int, List a ) (List a)) +listStep elementDecoder ( n, elements ) = + if n <= 0 then + Bytes.Decode.succeed + (Bytes.Decode.Done (List.reverse elements)) + + else + Bytes.Decode.map + (\element -> Bytes.Decode.Loop ( n - 1, element :: elements )) + elementDecoder diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/115/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/115/expected-value.txt new file mode 100644 index 00000000..b38510db --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/115/expected-value.txt @@ -0,0 +1 @@ +Just "UkZDIDQ2NDg=" \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/115/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/115/submission.txt new file mode 100644 index 00000000..f22441e0 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/115/submission.txt @@ -0,0 +1 @@ +Base64.fromString "RFC 4648" \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/118/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/118/expected-value.txt new file mode 100644 index 00000000..e72f0b15 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/118/expected-value.txt @@ -0,0 +1 @@ +Just "QXMgd2l0aCBhbGwgYmluYXJ5LXRvLXRleHQgZW5jb2Rpbmcgc2NoZW1lcywgQmFzZTY0IGlzIGRlc2lnbmVkIHRvIGNhcnJ5IGRhdGEgc3RvcmVkIGluIGJpbmFyeSBmb3JtYXRzIGFjcm9zcyBjaGFubmVscyB0aGF0IG9ubHkgcmVsaWFibHkgc3VwcG9ydCB0ZXh0IGNvbnRlbnQuIEJhc2U2NCBpcyBwYXJ0aWN1bGFybHkgcHJldmFsZW50IG9uIHRoZSBXb3JsZCBXaWRlIFdlYiB3aGVyZSBvbmUgb2YgaXRzIHVzZXMgaXMgdGhlIGFiaWxpdHkgdG8gZW1iZWQgaW1hZ2UgZmlsZXMgb3Igb3RoZXIgYmluYXJ5IGFzc2V0cyBpbnNpZGUgdGV4dHVhbCBhc3NldHMgc3VjaCBhcyBIVE1MIGFuZCBDU1MgZmlsZXMu" \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/118/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/118/submission.txt new file mode 100644 index 00000000..e8120be4 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/118/submission.txt @@ -0,0 +1 @@ +Base64.fromString "As with all binary-to-text encoding schemes, Base64 is designed to carry data stored in binary formats across channels that only reliably support text content. Base64 is particularly prevalent on the World Wide Web where one of its uses is the ability to embed image files or other binary assets inside textual assets such as HTML and CSS files." \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/148/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/148/expected-value.txt new file mode 100644 index 00000000..d22229a9 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/148/expected-value.txt @@ -0,0 +1 @@ +Just "Base64 is a group of binary-to-text encoding schemes that transforms binary data into a sequence of printable characters, limited to a set of 64 unique characters. More specifically, the source binary data is taken 6 bits at a time, then this group of 6 bits is mapped to one of 64 unique characters." \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/148/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/148/submission.txt new file mode 100644 index 00000000..7ae1983f --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/148/submission.txt @@ -0,0 +1 @@ +Base64.toString "QmFzZTY0IGlzIGEgZ3JvdXAgb2YgYmluYXJ5LXRvLXRleHQgZW5jb2Rpbmcgc2NoZW1lcyB0aGF0IHRyYW5zZm9ybXMgYmluYXJ5IGRhdGEgaW50byBhIHNlcXVlbmNlIG9mIHByaW50YWJsZSBjaGFyYWN0ZXJzLCBsaW1pdGVkIHRvIGEgc2V0IG9mIDY0IHVuaXF1ZSBjaGFyYWN0ZXJzLiBNb3JlIHNwZWNpZmljYWxseSwgdGhlIHNvdXJjZSBiaW5hcnkgZGF0YSBpcyB0YWtlbiA2IGJpdHMgYXQgYSB0aW1lLCB0aGVuIHRoaXMgZ3JvdXAgb2YgNiBiaXRzIGlzIG1hcHBlZCB0byBvbmUgb2YgNjQgdW5pcXVlIGNoYXJhY3RlcnMu" \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/151/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/151/expected-value.txt new file mode 100644 index 00000000..9be9bcf8 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/151/expected-value.txt @@ -0,0 +1 @@ +Nothing \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/151/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/151/submission.txt new file mode 100644 index 00000000..da3ab38b --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/151/submission.txt @@ -0,0 +1 @@ +Base64.toString "VGV-dA==" \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/152/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/152/expected-value.txt new file mode 100644 index 00000000..9be9bcf8 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/152/expected-value.txt @@ -0,0 +1 @@ +Nothing \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/152/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/152/submission.txt new file mode 100644 index 00000000..1384c349 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/152/submission.txt @@ -0,0 +1 @@ +Base64.toString "VG#zdA==" \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/165/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/165/expected-value.txt new file mode 100644 index 00000000..3a134a2b --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/165/expected-value.txt @@ -0,0 +1 @@ +[72,101,120,97,100,101,99,105,109,97,108,32,116,111,32,111,99,116,97,108,32,116,114,97,110,115,102,111,114,109,97,116,105,111,110,32,105,115,32,117,115,101,102,117,108,32,116,111,32,99,111,110,118,101,114,116,32,98,101,116,119,101,101,110,32,98,105,110,97,114,121,32,97,110,100,32,66,97,115,101,54,52,46,32,83,117,99,104,32,99,111,110,118,101,114,115,105,111,110,32,105,115,32,97,118,97,105,108,97,98,108,101,32,102,111,114,32,98,111,116,104,32,97,100,118,97,110,99,101,100,32,99,97,108,99,117,108,97,116,111,114,115,32,97,110,100,32,112,114,111,103,114,97,109,109,105,110,103,32,108,97,110,103,117,97,103,101,115,46,32,70,111,114,32,101,120,97,109,112,108,101,44,32,116,104,101,32,104,101,120,97,100,101,99,105,109,97,108,32,114,101,112,114,101,115,101,110,116,97,116,105,111,110,32,111,102,32,116,104,101,32,50,52,32,98,105,116,115,32,97,98,111,118,101,32,105,115,32,52,68,54,49,54,69,46,32,84,104,101,32,111,99,116,97,108,32,114,101,112,114,101,115,101,110,116,97,116,105,111,110,32,105,115,32,50,51,50,54,48,53,53,54,46,32,84,104,111,115,101,32,56,32,111,99,116,97,108,32,100,105,103,105,116,115,32,99,97,110,32,98,101,32,115,112,108,105,116,32,105,110,116,111,32,112,97,105,114,115,32,40,50,51,32,50,54,32,48,53,32,53,54,41,44,32,97,110,100,32,101,97,99,104,32,112,97,105,114,32,105,115,32,99,111,110,118,101,114,116,101,100,32,116,111,32,100,101,99,105,109,97,108,32,116,111,32,121,105,101,108,100,32,49,57,32,50,50,32,48,53,32,52,54,46,32,85,115,105,110,103,32,116,104,111,115,101,32,102,111,117,114,32,100,101,99,105,109,97,108,32,110,117,109,98,101,114,115,32,97,115,32,105,110,100,105,99,101,115,32,102,111,114,32,116,104,101,32,66,97,115,101,54,52,32,97,108,112,104,97,98,101,116,44,32,116,104,101,32,99,111,114,114,101,115,112,111,110,100,105,110,103,32,65,83,67,73,73,32,99,104,97,114,97,99,116,101,114,115,32,97,114,101,32,84,87,70,117,46,10,10,73,102,32,116,104,101,114,101,32,97,114,101,32,111,110,108,121,32,116,119,111,32,115,105,103,110,105,102,105,99,97,110,116,32,105,110,112,117,116,32,111,99,116,101,116,115,32,40,101,46,103,46,44,32,39,77,97,39,41,44,32,111,114,32,119,104,101,110,32,116,104,101,32,108,97,115,116,32,105,110,112,117,116,32,103,114,111,117,112,32,99,111,110,116,97,105,110,115,32,111,110,108,121,32,116,119,111,32,111,99,116,101,116,115,44,32,97,108,108,32,49,54,32,98,105,116,115,32,119,105,108,108,32,98,101,32,99,97,112,116,117,114,101,100,32,105,110,32,116,104,101,32,102,105,114,115,116,32,116,104,114,101,101,32,66,97,115,101,54,52,32,100,105,103,105,116,115,32,40,49,56,32,98,105,116,115,41,59,32,116,104,101,32,116,119,111,32,108,101,97,115,116,32,115,105,103,110,105,102,105,99,97,110,116,32,98,105,116,115,32,111,102,32,116,104,101,32,108,97,115,116,32,99,111,110,116,101,110,116,45,98,101,97,114,105,110,103,32,54,45,98,105,116,32,98,108,111,99,107,32,119,105,108,108,32,116,117,114,110,32,111,117,116,32,116,111,32,98,101,32,122,101,114,111,44,32,97,110,100,32,100,105,115,99,97,114,100,101,100,32,111,110,32,100,101,99,111,100,105,110,103,32,40,97,108,111,110,103,32,119,105,116,104,32,116,104,101,32,115,117,99,99,101,101,100,105,110,103,32,61,32,112,97,100,100,105,110,103,32,99,104,97,114,97,99,116,101,114,41,58] \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/165/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/165/submission.txt new file mode 100644 index 00000000..b089b37b --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/165/submission.txt @@ -0,0 +1,17 @@ +case + Base64.toBytes "SGV4YWRlY2ltYWwgdG8gb2N0YWwgdHJhbnNmb3JtYXRpb24gaXMgdXNlZnVsIHRvIGNvbnZlcnQgYmV0d2VlbiBiaW5hcnkgYW5kIEJhc2U2NC4gU3VjaCBjb252ZXJzaW9uIGlzIGF2YWlsYWJsZSBmb3IgYm90aCBhZHZhbmNlZCBjYWxjdWxhdG9ycyBhbmQgcHJvZ3JhbW1pbmcgbGFuZ3VhZ2VzLiBGb3IgZXhhbXBsZSwgdGhlIGhleGFkZWNpbWFsIHJlcHJlc2VudGF0aW9uIG9mIHRoZSAyNCBiaXRzIGFib3ZlIGlzIDRENjE2RS4gVGhlIG9jdGFsIHJlcHJlc2VudGF0aW9uIGlzIDIzMjYwNTU2LiBUaG9zZSA4IG9jdGFsIGRpZ2l0cyBjYW4gYmUgc3BsaXQgaW50byBwYWlycyAoMjMgMjYgMDUgNTYpLCBhbmQgZWFjaCBwYWlyIGlzIGNvbnZlcnRlZCB0byBkZWNpbWFsIHRvIHlpZWxkIDE5IDIyIDA1IDQ2LiBVc2luZyB0aG9zZSBmb3VyIGRlY2ltYWwgbnVtYmVycyBhcyBpbmRpY2VzIGZvciB0aGUgQmFzZTY0IGFscGhhYmV0LCB0aGUgY29ycmVzcG9uZGluZyBBU0NJSSBjaGFyYWN0ZXJzIGFyZSBUV0Z1LgoKSWYgdGhlcmUgYXJlIG9ubHkgdHdvIHNpZ25pZmljYW50IGlucHV0IG9jdGV0cyAoZS5nLiwgJ01hJyksIG9yIHdoZW4gdGhlIGxhc3QgaW5wdXQgZ3JvdXAgY29udGFpbnMgb25seSB0d28gb2N0ZXRzLCBhbGwgMTYgYml0cyB3aWxsIGJlIGNhcHR1cmVkIGluIHRoZSBmaXJzdCB0aHJlZSBCYXNlNjQgZGlnaXRzICgxOCBiaXRzKTsgdGhlIHR3byBsZWFzdCBzaWduaWZpY2FudCBiaXRzIG9mIHRoZSBsYXN0IGNvbnRlbnQtYmVhcmluZyA2LWJpdCBibG9jayB3aWxsIHR1cm4gb3V0IHRvIGJlIHplcm8sIGFuZCBkaXNjYXJkZWQgb24gZGVjb2RpbmcgKGFsb25nIHdpdGggdGhlIHN1Y2NlZWRpbmcgPSBwYWRkaW5nIGNoYXJhY3Rlcik6" +of + Nothing -> + [ -11 ] + + Just bytes -> + case + Bytes.Decode.decode + (DecodeExtra.list 879 Bytes.Decode.unsignedInt8) + bytes + of + Nothing -> + [ -13 ] + + Just bytes_list -> + bytes_list diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/310/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/310/expected-value.txt new file mode 100644 index 00000000..29bdeeba --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/310/expected-value.txt @@ -0,0 +1 @@ +<0 bytes> \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/310/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/310/submission.txt new file mode 100644 index 00000000..12f5bd36 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/310/submission.txt @@ -0,0 +1 @@ +Bytes.Encode.encode (Bytes.Encode.string "") \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/313/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/313/expected-value.txt new file mode 100644 index 00000000..517ea610 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/313/expected-value.txt @@ -0,0 +1 @@ +Just [10,32,32,32,32,85,84,70,45,56,32,105,115,32,97,32,99,104,97,114,97,99,116,101,114,32,101,110,99,111,100,105,110,103,32,115,116,97,110,100,97,114,100,32,117,115,101,100,32,102,111,114,32,101,108,101,99,116,114,111,110,105,99,32,99,111,109,109,117,110,105,99,97,116,105,111,110,46,32,68,101,102,105,110,101,100,32,98,121,32,116,104,101,32,85,110,105,99,111,100,101,32,83,116,97,110,100,97,114,100,44,32,116,104,101,32,110,97,109,101,32,105,115,32,100,101,114,105,118,101,100,32,102,114,111,109,32,85,110,105,99,111,100,101,32,84,114,97,110,115,102,111,114,109,97,116,105,111,110,32,70,111,114,109,97,116,32,226,128,147,32,56,45,98,105,116,46,32,65,108,109,111,115,116,32,101,118,101,114,121,32,119,101,98,112,97,103,101,32,105,115,32,115,116,111,114,101,100,32,105,110,32,85,84,70,45,56,46,10,32,32,32,32,10,32,32,32,32,85,84,70,45,56,32,105,115,32,99,97,112,97,98,108,101,32,111,102,32,101,110,99,111,100,105,110,103,32,97,108,108,32,49,44,49,49,50,44,48,54,52,32,118,97,108,105,100,32,85,110,105,99,111,100,101,32,115,99,97,108,97,114,32,118,97,108,117,101,115,32,117,115,105,110,103,32,97,32,118,97,114,105,97,98,108,101,45,119,105,100,116,104,32,101,110,99,111,100,105,110,103,32,111,102,32,111,110,101,32,116,111,32,102,111,117,114,32,111,110,101,45,98,121,116,101,32,40,56,45,98,105,116,41,32,99,111,100,101,32,117,110,105,116,115,46,10,32,32,32,32,10,32,32,32,32,67,111,100,101,32,112,111,105,110,116,115,32,119,105,116,104,32,108,111,119,101,114,32,110,117,109,101,114,105,99,97,108,32,118,97,108,117,101,115,44,32,119,104,105,99,104,32,116,101,110,100,32,116,111,32,111,99,99,117,114,32,109,111,114,101,32,102,114,101,113,117,101,110,116,108,121,44,32,97,114,101,32,101,110,99,111,100,101,100,32,117,115,105,110,103,32,102,101,119,101,114,32,98,121,116,101,115,46,32,73,116,32,119,97,115,32,100,101,115,105,103,110,101,100,32,102,111,114,32,98,97,99,107,119,97,114,100,32,99,111,109,112,97,116,105,98,105,108,105,116,121,32,119,105,116,104,32,65,83,67,73,73,58,32,116,104,101,32,102,105,114,115,116,32,49,50,56,32,99,104,97,114,97,99,116,101,114,115,32,111,102,32,85,110,105,99,111,100,101,44,32,119,104,105,99,104,32,99,111,114,114,101,115,112,111,110,100,32,111,110,101,45,116,111,45,111,110,101,32,119,105,116,104,32,65,83,67,73,73,44,32,97,114,101,32,101,110,99,111,100,101,100,32,117,115,105,110,103,32,97,32,115,105,110,103,108,101,32,98,121,116,101,32,119,105,116,104,32,116,104,101,32,115,97,109,101,32,98,105,110,97,114,121,32,118,97,108,117,101,32,97,115,32,65,83,67,73,73,44,32,115,111,32,116,104,97,116,32,97,32,85,84,70,45,56,45,101,110,99,111,100,101,100,32,102,105,108,101,32,117,115,105,110,103,32,111,110,108,121,32,116,104,111,115,101,32,99,104,97,114,97,99,116,101,114,115,32,105,115,32,105,100,101,110,116,105,99,97,108,32,116,111,32,97,110,32,65,83,67,73,73,32,102,105,108,101,46,32,77,111,115,116,32,115,111,102,116,119,97,114,101,32,100,101,115,105,103,110,101,100,32,102,111,114,32,97,110,121,32,101,120,116,101,110,100,101,100,32,65,83,67,73,73,32,99,97,110,32,114,101,97,100,32,97,110,100,32,119,114,105,116,101,32,85,84,70,45,56,32,40,105,110,99,108,117,100,105,110,103,32,111,110,32,77,105,99,114,111,115,111,102,116,32,87,105,110,100,111,119,115,41,32,97,110,100,32,116,104,105,115,32,114,101,115,117,108,116,115,32,105,110,32,102,101,119,101,114,32,105,110,116,101,114,110,97,116,105,111,110,97,108,105,122,97,116,105,111,110,32,105,115,115,117,101,115,32,116,104,97,110,32,97,110,121,32,97,108,116,101,114,110,97,116,105,118,101,32,116,101,120,116,32,101,110,99,111,100,105,110,103,46,91,51,93,91,52,93,10,32,32,32,32] \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/313/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/313/submission.txt new file mode 100644 index 00000000..e24934df --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/313/submission.txt @@ -0,0 +1,11 @@ +Bytes.Decode.decode + (DecodeExtra.list 986 Bytes.Decode.unsignedInt8) + (Bytes.Encode.encode + (Bytes.Encode.string + """ +UTF-8 is a character encoding standard used for electronic communication. Defined by the Unicode Standard, the name is derived from Unicode Transformation Format – 8-bit. Almost every webpage is stored in UTF-8. + +UTF-8 is capable of encoding all 1,112,064 valid Unicode scalar values using a variable-width encoding of one to four one-byte (8-bit) code units. + +Code points with lower numerical values, which tend to occur more frequently, are encoded using fewer bytes. It was designed for backward compatibility with ASCII: the first 128 characters of Unicode, which correspond one-to-one with ASCII, are encoded using a single byte with the same binary value as ASCII, so that a UTF-8-encoded file using only those characters is identical to an ASCII file. Most software designed for any extended ASCII can read and write UTF-8 (including on Microsoft Windows) and this results in fewer internationalization issues than any alternative text encoding.[3][4] + """)) \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/333/expected-value.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/333/expected-value.txt new file mode 100644 index 00000000..017c3278 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/333/expected-value.txt @@ -0,0 +1,5 @@ +Just " +The International Organization for Standardization (ISO) set out to compose a universal multi-byte character set in 1989. The draft ISO 10646 standard contained a non-required annex called UTF-1 that provided a byte stream encoding of its 32-bit code points. This encoding was not satisfactory on performance grounds, among other problems, and the biggest problem was probably that it did not have a clear separation between ASCII and non-ASCII: new UTF-1 tools would be backward compatible with ASCII-encoded text, but UTF-1-encoded text could confuse existing code expecting ASCII (or extended ASCII), because it could contain continuation bytes in the range 0x21–0x7E that meant something else in ASCII, e.g., 0x2F for /, the Unix path directory separator. + +In July 1992, the X/Open committee XoJIG was looking for a better encoding. Dave Prosser of Unix System Laboratories submitted a proposal for one that had faster implementation characteristics and introduced the improvement that 7-bit ASCII characters would only represent themselves; multi-byte sequences would only include bytes with the high bit set. The name File System Safe UCS Transformation Format (FSS-UTF)[5] and most of the text of this proposal were later preserved in the final specification.[6][7][8] In August 1992, this proposal was circulated by an IBM X/Open representative to interested parties. A modification by Ken Thompson of the Plan 9 operating system group at Bell Labs made it self-synchronizing, letting a reader start anywhere and immediately detect character boundaries, at the cost of being somewhat less bit-efficient than the previous proposal. It also abandoned the use of biases that prevented overlong encodings.[8][9] Thompson's design was outlined on September 2, 1992, on a placemat in a New Jersey diner with Rob Pike. In the following days, Pike and Thompson implemented it and updated Plan 9 to use it throughout,[10] and then communicated their success back to X/Open, which accepted it as the specification for FSS-UTF.[8] + " \ No newline at end of file diff --git a/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/333/submission.txt b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/333/submission.txt new file mode 100644 index 00000000..dcf99e96 --- /dev/null +++ b/implement/test-and-train/elm-interactive-scenarios-train/elm-compiler-dependencies/steps/333/submission.txt @@ -0,0 +1,8 @@ +Bytes.Decode.decode + (Bytes.Decode.string 2034) + (Bytes.Encode.encode + (Bytes.Encode.sequence + (List.map + Bytes.Encode.unsignedInt8 + [10, 84, 104, 101, 32, 73, 110, 116, 101, 114, 110, 97, 116, 105, 111, 110, 97, 108, 32, 79, 114, 103, 97, 110, 105, 122, 97, 116, 105, 111, 110, 32, 102, 111, 114, 32, 83, 116, 97, 110, 100, 97, 114, 100, 105, 122, 97, 116, 105, 111, 110, 32, 40, 73, 83, 79, 41, 32, 115, 101, 116, 32, 111, 117, 116, 32, 116, 111, 32, 99, 111, 109, 112, 111, 115, 101, 32, 97, 32, 117, 110, 105, 118, 101, 114, 115, 97, 108, 32, 109, 117, 108, 116, 105, 45, 98, 121, 116, 101, 32, 99, 104, 97, 114, 97, 99, 116, 101, 114, 32, 115, 101, 116, 32, 105, 110, 32, 49, 57, 56, 57, 46, 32, 84, 104, 101, 32, 100, 114, 97, 102, 116, 32, 73, 83, 79, 32, 49, 48, 54, 52, 54, 32, 115, 116, 97, 110, 100, 97, 114, 100, 32, 99, 111, 110, 116, 97, 105, 110, 101, 100, 32, 97, 32, 110, 111, 110, 45, 114, 101, 113, 117, 105, 114, 101, 100, 32, 97, 110, 110, 101, 120, 32, 99, 97, 108, 108, 101, 100, 32, 85, 84, 70, 45, 49, 32, 116, 104, 97, 116, 32, 112, 114, 111, 118, 105, 100, 101, 100, 32, 97, 32, 98, 121, 116, 101, 32, 115, 116, 114, 101, 97, 109, 32, 101, 110, 99, 111, 100, 105, 110, 103, 32, 111, 102, 32, 105, 116, 115, 32, 51, 50, 45, 98, 105, 116, 32, 99, 111, 100, 101, 32, 112, 111, 105, 110, 116, 115, 46, 32, 84, 104, 105, 115, 32, 101, 110, 99, 111, 100, 105, 110, 103, 32, 119, 97, 115, 32, 110, 111, 116, 32, 115, 97, 116, 105, 115, 102, 97, 99, 116, 111, 114, 121, 32, 111, 110, 32, 112, 101, 114, 102, 111, 114, 109, 97, 110, 99, 101, 32, 103, 114, 111, 117, 110, 100, 115, 44, 32, 97, 109, 111, 110, 103, 32, 111, 116, 104, 101, 114, 32, 112, 114, 111, 98, 108, 101, 109, 115, 44, 32, 97, 110, 100, 32, 116, 104, 101, 32, 98, 105, 103, 103, 101, 115, 116, 32, 112, 114, 111, 98, 108, 101, 109, 32, 119, 97, 115, 32, 112, 114, 111, 98, 97, 98, 108, 121, 32, 116, 104, 97, 116, 32, 105, 116, 32, 100, 105, 100, 32, 110, 111, 116, 32, 104, 97, 118, 101, 32, 97, 32, 99, 108, 101, 97, 114, 32, 115, 101, 112, 97, 114, 97, 116, 105, 111, 110, 32, 98, 101, 116, 119, 101, 101, 110, 32, 65, 83, 67, 73, 73, 32, 97, 110, 100, 32, 110, 111, 110, 45, 65, 83, 67, 73, 73, 58, 32, 110, 101, 119, 32, 85, 84, 70, 45, 49, 32, 116, 111, 111, 108, 115, 32, 119, 111, 117, 108, 100, 32, 98, 101, 32, 98, 97, 99, 107, 119, 97, 114, 100, 32, 99, 111, 109, 112, 97, 116, 105, 98, 108, 101, 32, 119, 105, 116, 104, 32, 65, 83, 67, 73, 73, 45, 101, 110, 99, 111, 100, 101, 100, 32, 116, 101, 120, 116, 44, 32, 98, 117, 116, 32, 85, 84, 70, 45, 49, 45, 101, 110, 99, 111, 100, 101, 100, 32, 116, 101, 120, 116, 32, 99, 111, 117, 108, 100, 32, 99, 111, 110, 102, 117, 115, 101, 32, 101, 120, 105, 115, 116, 105, 110, 103, 32, 99, 111, 100, 101, 32, 101, 120, 112, 101, 99, 116, 105, 110, 103, 32, 65, 83, 67, 73, 73, 32, 40, 111, 114, 32, 101, 120, 116, 101, 110, 100, 101, 100, 32, 65, 83, 67, 73, 73, 41, 44, 32, 98, 101, 99, 97, 117, 115, 101, 32, 105, 116, 32, 99, 111, 117, 108, 100, 32, 99, 111, 110, 116, 97, 105, 110, 32, 99, 111, 110, 116, 105, 110, 117, 97, 116, 105, 111, 110, 32, 98, 121, 116, 101, 115, 32, 105, 110, 32, 116, 104, 101, 32, 114, 97, 110, 103, 101, 32, 48, 120, 50, 49, 226, 128, 147, 48, 120, 55, 69, 32, 116, 104, 97, 116, 32, 109, 101, 97, 110, 116, 32, 115, 111, 109, 101, 116, 104, 105, 110, 103, 32, 101, 108, 115, 101, 32, 105, 110, 32, 65, 83, 67, 73, 73, 44, 32, 101, 46, 103, 46, 44, 32, 48, 120, 50, 70, 32, 102, 111, 114, 32, 47, 44, 32, 116, 104, 101, 32, 85, 110, 105, 120, 32, 112, 97, 116, 104, 32, 100, 105, 114, 101, 99, 116, 111, 114, 121, 32, 115, 101, 112, 97, 114, 97, 116, 111, 114, 46, 10, 10, 73, 110, 32, 74, 117, 108, 121, 32, 49, 57, 57, 50, 44, 32, 116, 104, 101, 32, 88, 47, 79, 112, 101, 110, 32, 99, 111, 109, 109, 105, 116, 116, 101, 101, 32, 88, 111, 74, 73, 71, 32, 119, 97, 115, 32, 108, 111, 111, 107, 105, 110, 103, 32, 102, 111, 114, 32, 97, 32, 98, 101, 116, 116, 101, 114, 32, 101, 110, 99, 111, 100, 105, 110, 103, 46, 32, 68, 97, 118, 101, 32, 80, 114, 111, 115, 115, 101, 114, 32, 111, 102, 32, 85, 110, 105, 120, 32, 83, 121, 115, 116, 101, 109, 32, 76, 97, 98, 111, 114, 97, 116, 111, 114, 105, 101, 115, 32, 115, 117, 98, 109, 105, 116, 116, 101, 100, 32, 97, 32, 112, 114, 111, 112, 111, 115, 97, 108, 32, 102, 111, 114, 32, 111, 110, 101, 32, 116, 104, 97, 116, 32, 104, 97, 100, 32, 102, 97, 115, 116, 101, 114, 32, 105, 109, 112, 108, 101, 109, 101, 110, 116, 97, 116, 105, 111, 110, 32, 99, 104, 97, 114, 97, 99, 116, 101, 114, 105, 115, 116, 105, 99, 115, 32, 97, 110, 100, 32, 105, 110, 116, 114, 111, 100, 117, 99, 101, 100, 32, 116, 104, 101, 32, 105, 109, 112, 114, 111, 118, 101, 109, 101, 110, 116, 32, 116, 104, 97, 116, 32, 55, 45, 98, 105, 116, 32, 65, 83, 67, 73, 73, 32, 99, 104, 97, 114, 97, 99, 116, 101, 114, 115, 32, 119, 111, 117, 108, 100, 32, 111, 110, 108, 121, 32, 114, 101, 112, 114, 101, 115, 101, 110, 116, 32, 116, 104, 101, 109, 115, 101, 108, 118, 101, 115, 59, 32, 109, 117, 108, 116, 105, 45, 98, 121, 116, 101, 32, 115, 101, 113, 117, 101, 110, 99, 101, 115, 32, 119, 111, 117, 108, 100, 32, 111, 110, 108, 121, 32, 105, 110, 99, 108, 117, 100, 101, 32, 98, 121, 116, 101, 115, 32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 104, 105, 103, 104, 32, 98, 105, 116, 32, 115, 101, 116, 46, 32, 84, 104, 101, 32, 110, 97, 109, 101, 32, 70, 105, 108, 101, 32, 83, 121, 115, 116, 101, 109, 32, 83, 97, 102, 101, 32, 85, 67, 83, 32, 84, 114, 97, 110, 115, 102, 111, 114, 109, 97, 116, 105, 111, 110, 32, 70, 111, 114, 109, 97, 116, 32, 40, 70, 83, 83, 45, 85, 84, 70, 41, 91, 53, 93, 32, 97, 110, 100, 32, 109, 111, 115, 116, 32, 111, 102, 32, 116, 104, 101, 32, 116, 101, 120, 116, 32, 111, 102, 32, 116, 104, 105, 115, 32, 112, 114, 111, 112, 111, 115, 97, 108, 32, 119, 101, 114, 101, 32, 108, 97, 116, 101, 114, 32, 112, 114, 101, 115, 101, 114, 118, 101, 100, 32, 105, 110, 32, 116, 104, 101, 32, 102, 105, 110, 97, 108, 32, 115, 112, 101, 99, 105, 102, 105, 99, 97, 116, 105, 111, 110, 46, 91, 54, 93, 91, 55, 93, 91, 56, 93, 32, 73, 110, 32, 65, 117, 103, 117, 115, 116, 32, 49, 57, 57, 50, 44, 32, 116, 104, 105, 115, 32, 112, 114, 111, 112, 111, 115, 97, 108, 32, 119, 97, 115, 32, 99, 105, 114, 99, 117, 108, 97, 116, 101, 100, 32, 98, 121, 32, 97, 110, 32, 73, 66, 77, 32, 88, 47, 79, 112, 101, 110, 32, 114, 101, 112, 114, 101, 115, 101, 110, 116, 97, 116, 105, 118, 101, 32, 116, 111, 32, 105, 110, 116, 101, 114, 101, 115, 116, 101, 100, 32, 112, 97, 114, 116, 105, 101, 115, 46, 32, 65, 32, 109, 111, 100, 105, 102, 105, 99, 97, 116, 105, 111, 110, 32, 98, 121, 32, 75, 101, 110, 32, 84, 104, 111, 109, 112, 115, 111, 110, 32, 111, 102, 32, 116, 104, 101, 32, 80, 108, 97, 110, 32, 57, 32, 111, 112, 101, 114, 97, 116, 105, 110, 103, 32, 115, 121, 115, 116, 101, 109, 32, 103, 114, 111, 117, 112, 32, 97, 116, 32, 66, 101, 108, 108, 32, 76, 97, 98, 115, 32, 109, 97, 100, 101, 32, 105, 116, 32, 115, 101, 108, 102, 45, 115, 121, 110, 99, 104, 114, 111, 110, 105, 122, 105, 110, 103, 44, 32, 108, 101, 116, 116, 105, 110, 103, 32, 97, 32, 114, 101, 97, 100, 101, 114, 32, 115, 116, 97, 114, 116, 32, 97, 110, 121, 119, 104, 101, 114, 101, 32, 97, 110, 100, 32, 105, 109, 109, 101, 100, 105, 97, 116, 101, 108, 121, 32, 100, 101, 116, 101, 99, 116, 32, 99, 104, 97, 114, 97, 99, 116, 101, 114, 32, 98, 111, 117, 110, 100, 97, 114, 105, 101, 115, 44, 32, 97, 116, 32, 116, 104, 101, 32, 99, 111, 115, 116, 32, 111, 102, 32, 98, 101, 105, 110, 103, 32, 115, 111, 109, 101, 119, 104, 97, 116, 32, 108, 101, 115, 115, 32, 98, 105, 116, 45, 101, 102, 102, 105, 99, 105, 101, 110, 116, 32, 116, 104, 97, 110, 32, 116, 104, 101, 32, 112, 114, 101, 118, 105, 111, 117, 115, 32, 112, 114, 111, 112, 111, 115, 97, 108, 46, 32, 73, 116, 32, 97, 108, 115, 111, 32, 97, 98, 97, 110, 100, 111, 110, 101, 100, 32, 116, 104, 101, 32, 117, 115, 101, 32, 111, 102, 32, 98, 105, 97, 115, 101, 115, 32, 116, 104, 97, 116, 32, 112, 114, 101, 118, 101, 110, 116, 101, 100, 32, 111, 118, 101, 114, 108, 111, 110, 103, 32, 101, 110, 99, 111, 100, 105, 110, 103, 115, 46, 91, 56, 93, 91, 57, 93, 32, 84, 104, 111, 109, 112, 115, 111, 110, 39, 115, 32, 100, 101, 115, 105, 103, 110, 32, 119, 97, 115, 32, 111, 117, 116, 108, 105, 110, 101, 100, 32, 111, 110, 32, 83, 101, 112, 116, 101, 109, 98, 101, 114, 32, 50, 44, 32, 49, 57, 57, 50, 44, 32, 111, 110, 32, 97, 32, 112, 108, 97, 99, 101, 109, 97, 116, 32, 105, 110, 32, 97, 32, 78, 101, 119, 32, 74, 101, 114, 115, 101, 121, 32, 100, 105, 110, 101, 114, 32, 119, 105, 116, 104, 32, 82, 111, 98, 32, 80, 105, 107, 101, 46, 32, 73, 110, 32, 116, 104, 101, 32, 102, 111, 108, 108, 111, 119, 105, 110, 103, 32, 100, 97, 121, 115, 44, 32, 80, 105, 107, 101, 32, 97, 110, 100, 32, 84, 104, 111, 109, 112, 115, 111, 110, 32, 105, 109, 112, 108, 101, 109, 101, 110, 116, 101, 100, 32, 105, 116, 32, 97, 110, 100, 32, 117, 112, 100, 97, 116, 101, 100, 32, 80, 108, 97, 110, 32, 57, 32, 116, 111, 32, 117, 115, 101, 32, 105, 116, 32, 116, 104, 114, 111, 117, 103, 104, 111, 117, 116, 44, 91, 49, 48, 93, 32, 97, 110, 100, 32, 116, 104, 101, 110, 32, 99, 111, 109, 109, 117, 110, 105, 99, 97, 116, 101, 100, 32, 116, 104, 101, 105, 114, 32, 115, 117, 99, 99, 101, 115, 115, 32, 98, 97, 99, 107, 32, 116, 111, 32, 88, 47, 79, 112, 101, 110, 44, 32, 119, 104, 105, 99, 104, 32, 97, 99, 99, 101, 112, 116, 101, 100, 32, 105, 116, 32, 97, 115, 32, 116, 104, 101, 32, 115, 112, 101, 99, 105, 102, 105, 99, 97, 116, 105, 111, 110, 32, 102, 111, 114, 32, 70, 83, 83, 45, 85, 84, 70, 46, 91, 56, 93, 10, 32, 32, 32])) + ) \ No newline at end of file