@liascript/editor 1.1.6--0.15.10 → 1.1.6--0.15.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/LICENSE +11 -0
  2. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/README.md +172 -0
  3. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/artifacts.dat +0 -0
  4. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/docs.json +1 -0
  5. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/LICENSE +27 -0
  6. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/README.md +107 -0
  7. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/artifacts.dat +0 -0
  8. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/docs.json +1 -0
  9. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/LICENSE +29 -0
  10. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/README.md +51 -0
  11. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/artifacts.dat +0 -0
  12. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/docs.json +1 -0
  13. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/LICENSE +21 -0
  14. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/README.md +313 -0
  15. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/artifacts.dat +0 -0
  16. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/docs.json +1 -0
  17. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/LICENSE +202 -0
  18. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/README.md +820 -0
  19. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/artifacts.dat +0 -0
  20. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/docs.json +1 -0
  21. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/LICENSE +24 -0
  22. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/README.md +7 -0
  23. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/artifacts.dat +0 -0
  24. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/docs.json +1 -0
  25. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/LICENSE +11 -0
  26. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/README.md +57 -0
  27. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/artifacts.dat +0 -0
  28. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/docs.json +1 -0
  29. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/LICENSE +11 -0
  30. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/README.md +58 -0
  31. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/artifacts.dat +0 -0
  32. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/docs.json +1 -0
  33. package/.elm/0.19.1/packages/elm/browser/1.0.2/LICENSE +11 -0
  34. package/.elm/0.19.1/packages/elm/browser/1.0.2/README.md +21 -0
  35. package/.elm/0.19.1/packages/elm/browser/1.0.2/artifacts.dat +0 -0
  36. package/.elm/0.19.1/packages/elm/browser/1.0.2/docs.json +1 -0
  37. package/.elm/0.19.1/packages/elm/bytes/1.0.8/LICENSE +30 -0
  38. package/.elm/0.19.1/packages/elm/bytes/1.0.8/README.md +56 -0
  39. package/.elm/0.19.1/packages/elm/bytes/1.0.8/artifacts.dat +0 -0
  40. package/.elm/0.19.1/packages/elm/bytes/1.0.8/docs.json +1 -0
  41. package/.elm/0.19.1/packages/elm/core/1.0.5/LICENSE +11 -0
  42. package/.elm/0.19.1/packages/elm/core/1.0.5/README.md +30 -0
  43. package/.elm/0.19.1/packages/elm/core/1.0.5/artifacts.dat +0 -0
  44. package/.elm/0.19.1/packages/elm/core/1.0.5/docs.json +1 -0
  45. package/.elm/0.19.1/packages/elm/file/1.0.5/LICENSE +30 -0
  46. package/.elm/0.19.1/packages/elm/file/1.0.5/README.md +127 -0
  47. package/.elm/0.19.1/packages/elm/file/1.0.5/artifacts.dat +0 -0
  48. package/.elm/0.19.1/packages/elm/file/1.0.5/docs.json +1 -0
  49. package/.elm/0.19.1/packages/elm/html/1.0.0/LICENSE +30 -0
  50. package/.elm/0.19.1/packages/elm/html/1.0.0/README.md +50 -0
  51. package/.elm/0.19.1/packages/elm/html/1.0.0/artifacts.dat +0 -0
  52. package/.elm/0.19.1/packages/elm/html/1.0.0/docs.json +1 -0
  53. package/.elm/0.19.1/packages/elm/http/2.0.0/LICENSE +30 -0
  54. package/.elm/0.19.1/packages/elm/http/2.0.0/README.md +36 -0
  55. package/.elm/0.19.1/packages/elm/http/2.0.0/artifacts.dat +0 -0
  56. package/.elm/0.19.1/packages/elm/http/2.0.0/docs.json +1 -0
  57. package/.elm/0.19.1/packages/elm/json/1.1.3/LICENSE +30 -0
  58. package/.elm/0.19.1/packages/elm/json/1.1.3/README.md +63 -0
  59. package/.elm/0.19.1/packages/elm/json/1.1.3/artifacts.dat +0 -0
  60. package/.elm/0.19.1/packages/elm/json/1.1.3/docs.json +1 -0
  61. package/.elm/0.19.1/packages/elm/random/1.0.0/LICENSE +30 -0
  62. package/.elm/0.19.1/packages/elm/random/1.0.0/README.md +46 -0
  63. package/.elm/0.19.1/packages/elm/random/1.0.0/artifacts.dat +0 -0
  64. package/.elm/0.19.1/packages/elm/random/1.0.0/docs.json +1 -0
  65. package/.elm/0.19.1/packages/elm/regex/1.0.0/LICENSE +30 -0
  66. package/.elm/0.19.1/packages/elm/regex/1.0.0/README.md +59 -0
  67. package/.elm/0.19.1/packages/elm/regex/1.0.0/artifacts.dat +0 -0
  68. package/.elm/0.19.1/packages/elm/regex/1.0.0/docs.json +1 -0
  69. package/.elm/0.19.1/packages/elm/svg/1.0.1/LICENSE +30 -0
  70. package/.elm/0.19.1/packages/elm/svg/1.0.1/README.md +62 -0
  71. package/.elm/0.19.1/packages/elm/svg/1.0.1/artifacts.dat +0 -0
  72. package/.elm/0.19.1/packages/elm/svg/1.0.1/docs.json +1 -0
  73. package/.elm/0.19.1/packages/elm/time/1.0.0/LICENSE +30 -0
  74. package/.elm/0.19.1/packages/elm/time/1.0.0/README.md +94 -0
  75. package/.elm/0.19.1/packages/elm/time/1.0.0/artifacts.dat +0 -0
  76. package/.elm/0.19.1/packages/elm/time/1.0.0/docs.json +1 -0
  77. package/.elm/0.19.1/packages/elm/url/1.0.0/LICENSE +27 -0
  78. package/.elm/0.19.1/packages/elm/url/1.0.0/README.md +32 -0
  79. package/.elm/0.19.1/packages/elm/url/1.0.0/artifacts.dat +0 -0
  80. package/.elm/0.19.1/packages/elm/url/1.0.0/docs.json +1 -0
  81. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/LICENSE +30 -0
  82. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/README.md +5 -0
  83. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/artifacts.dat +0 -0
  84. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/docs.json +1 -0
  85. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/LICENSE +21 -0
  86. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/README.md +19 -0
  87. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/artifacts.dat +0 -0
  88. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/docs.json +1 -0
  89. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/LICENSE +29 -0
  90. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/README.md +31 -0
  91. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/artifacts.dat +0 -0
  92. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/docs.json +1 -0
  93. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/LICENSE +11 -0
  94. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/README.md +73 -0
  95. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/artifacts.dat +0 -0
  96. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/docs.json +1 -0
  97. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/LICENSE +373 -0
  98. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/README.md +77 -0
  99. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/artifacts.dat +0 -0
  100. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/docs.json +1 -0
  101. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/LICENSE +9 -0
  102. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/README.md +112 -0
  103. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/artifacts.dat +0 -0
  104. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/docs.json +1 -0
  105. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/LICENSE +11 -0
  106. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/README.md +67 -0
  107. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/artifacts.dat +0 -0
  108. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/docs.json +1 -0
  109. package/.elm/0.19.1/packages/lock +0 -0
  110. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/LICENSE +27 -0
  111. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/README.md +32 -0
  112. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/artifacts.dat +0 -0
  113. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/docs.json +1 -0
  114. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/LICENSE +25 -0
  115. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/README.md +14 -0
  116. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/artifacts.dat +0 -0
  117. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/docs.json +1 -0
  118. package/.elm/0.19.1/packages/registry.dat +0 -0
  119. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/LICENSE +29 -0
  120. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/README.md +13 -0
  121. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/artifacts.dat +0 -0
  122. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/docs.json +1 -0
  123. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/LICENSE +27 -0
  124. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/README.md +72 -0
  125. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/artifacts.dat +0 -0
  126. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/docs.json +1 -0
  127. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/LICENSE +22 -0
  128. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/README.md +27 -0
  129. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/artifacts.dat +0 -0
  130. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/docs.json +1 -0
  131. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/LICENSE +27 -0
  132. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/README.md +34 -0
  133. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/artifacts.dat +0 -0
  134. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/docs.json +1 -0
  135. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/LICENSE +29 -0
  136. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/README.md +8 -0
  137. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/artifacts.dat +0 -0
  138. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/docs.json +1 -0
  139. package/CHANGELOG.md +1350 -0
  140. package/README.md +1 -1
  141. package/dist/ace.js +1 -1
  142. package/dist/ext-command_bar.js +1 -1
  143. package/dist/ext-inline_autocomplete.js +1 -1
  144. package/dist/ext-textarea.js +1 -1
  145. package/dist/index.12e571ee.js +1 -1
  146. package/dist/index.270309fa.js +1 -0
  147. package/dist/index.2aba4af3.js +1 -0
  148. package/dist/index.2b67d179.js +1 -0
  149. package/dist/index.2e6af433.js +1 -0
  150. package/dist/index.2fe8b0a8.js +1 -1
  151. package/dist/index.3d681c84.js +1 -0
  152. package/dist/index.53dbecfd.js +1 -1
  153. package/dist/index.7748fab8.js +6 -0
  154. package/dist/index.96efa9cf.js +6 -0
  155. package/dist/index.a5e28e41.js +2 -2
  156. package/dist/index.b5bb4a4e.js +2 -2
  157. package/dist/index.d57ed7b9.js +1 -0
  158. package/dist/index.d86379f4.js +1 -1
  159. package/dist/index.html +1 -1
  160. package/dist/mode-jsoniq.js +1 -1
  161. package/dist/mode-xquery.js +1 -1
  162. package/dist/theme-cloud_editor.js +1 -1
  163. package/dist/theme-cloud_editor_dark.js +1 -1
  164. package/dist/worker-javascript.js +1 -1
  165. package/dist/worker-xquery.js +1 -1
  166. package/package.json +7 -4
  167. package/dist/index.20641f3f.js +0 -6
  168. package/dist/index.28a4f126.js +0 -1
  169. package/dist/index.30e06145.js +0 -1
  170. package/dist/index.66ebf531.js +0 -1
  171. package/dist/index.bfa1f298.js +0 -1
  172. package/dist/index.c5d89bdd.js +0 -1
  173. package/dist/index.e35a85a4.js +0 -6
  174. package/dist/index.f5975b06.js +0 -1
@@ -0,0 +1,313 @@
1
+ # elm-random-regex
2
+
3
+ Turn regular expressions into random strings. Actually I did this, to use it for
4
+ fuzz testing, but it can also be used to generate any kind of nice random
5
+ values...
6
+
7
+
8
+ ## Usage
9
+
10
+ This module exposes three functions and the type `Èncoding`, which is defined as
11
+ either an `ASCII` or `UNICODE`. All you actually need, is the function
12
+ `generate`, it receives the encoding type, a maximum infinity number and a
13
+ string, which defines your regular expression. To let your `*`, `+` and other
14
+ quantifiers, such as `{1,}` not to become too big, you have to define a maximum
15
+ value for infinity, in the code below, you will get strings with a max length of
16
+ 200 characters.
17
+
18
+ ``` elm
19
+ import Random.Regex exposing (Encoding(..))
20
+
21
+ ...
22
+
23
+ update : Msg -> Model -> ( Model, Cmd Msg )
24
+ update msg model =
25
+ case msg of
26
+ Generate ->
27
+ case Random.Regex.generate ASCII 200 "a-z*" of
28
+ Ok result ->
29
+ ( model, Random.generate GenResult result )
30
+
31
+ Err info ->
32
+ ( { model | result = info }, Cmd.none )
33
+
34
+ GenResult str ->
35
+ ( { model | result = str }, Cmd.none )
36
+
37
+ ...
38
+ ```
39
+
40
+ The regular expression is parsed at first and since this parsing process might
41
+ fail, due to not correct definitions, you have to handle both cases. Either,
42
+ parsing went well and you will get a random generator, which does what you hope
43
+ ;) or you get an error string. Unfortunatelly, I did not care so much on nice
44
+ error messages, so check your regex first.
45
+
46
+ You can also use the following two shortcuts:
47
+
48
+ ``` elm
49
+ ...
50
+ -- equals Random.Regex.generate ASCII 250
51
+ case Random.Regex.ascii "a-z*" of
52
+ Ok result ->
53
+ ( model, Random.generate GenResult result )
54
+
55
+ Err info ->
56
+ ( { model | result = info }, Cmd.none )
57
+
58
+ ...
59
+ -- equals Random.Regex.generate UNICODE 250
60
+ case Random.Regex.unicode "#-ß*" of
61
+ Ok result ->
62
+ ( model, Random.generate GenResult result )
63
+
64
+ Err info ->
65
+ ( { model | result = info }, Cmd.none )
66
+ ```
67
+
68
+ ## Fuzz Testing
69
+
70
+ If you would like to use `Random.Regex` for fuzz-testing, you can use and modify
71
+ the following function. And use no shrinking, unfortunately, Shrink.string does
72
+ generate some empty strings, which can lead to false results.
73
+
74
+ ``` elm
75
+ fuzzRegex : String -> Fuzzer String
76
+ fuzzRegex re =
77
+ case Random.Regex.generate ASCII 199 re of
78
+ Ok re ->
79
+ Fuzz.custom re Shrink.noShrink
80
+
81
+ Err info ->
82
+ Fuzz.invalid ("not a valid regex (" ++ re ++ ") => " ++ info)
83
+ ```
84
+
85
+ Have a look into the test-folder, to see some examples...
86
+
87
+ ## Examples
88
+
89
+ Take a look at the following examples, to check out, what can be generated with
90
+ this package so far. This project contains also an `example/Main.elm` that can
91
+ be used for typing regular expressions and experimenting.
92
+
93
+ ### Time
94
+
95
+ ``` elm
96
+ Random.Regex.ascii "(1[0-2]|0[1-9])(:[0-5]\\d){2} (A|P)M"
97
+ ```
98
+
99
+ __Results:__
100
+
101
+ ``` text
102
+ 06:01:34 AM
103
+ 12:13:22 PM
104
+ 11:54:26 PM
105
+ 04:45:25 AM
106
+ 10:02:30 PM
107
+ 01:02:06 AM
108
+ 11:41:23 AM
109
+ ...
110
+ ```
111
+
112
+ ### Date
113
+
114
+ ``` elm
115
+ Random.Regex.ascii "(January|February|March|April|May|June|July|August|September|October|November|December) ([1-9]|[12][0-9]|3[01]), (19|20)\\d\\d"
116
+ ```
117
+
118
+ __Results:__
119
+
120
+ ``` text
121
+ August 12, 1943
122
+ July 10, 1936
123
+ April 9, 2091
124
+ February 5, 2048
125
+ September 1, 2000
126
+ July 4, 2028
127
+ ...
128
+ ```
129
+
130
+ ### SHA1 Hash
131
+
132
+ ``` elm
133
+ Random.Regex.ascii "[a-f0-9]{40}"
134
+ ```
135
+
136
+ __Results:__
137
+
138
+ ``` text
139
+ 1744620aca430ed0a084aa294b2651e7c78be09e
140
+ 5ea36b5d7b87c2cca0121ce852f0cf9d50d155d6
141
+ 4cb708394aab409dd4e49813ed95734d7e4ac22b
142
+ a25727ee31e91aebeffe0d29b11b8aafc8b2c92c
143
+ 194b33fb34649941526fa45674e813def92006a6
144
+ b2644c90cb11bb22554a83d8e80430d68c55e052
145
+ ede961738f5fa50f1db0fe5d1a4faac6697af7c5
146
+ ...
147
+ ```
148
+
149
+ ### Currency
150
+
151
+ ``` elm
152
+ Random.Regex.ascii "\\$([1-9]{1,3}(,\\d{3}){0,3}|([1-9]{1,3}))(\\.\\d{2})?"
153
+ ```
154
+
155
+ __Results:__
156
+
157
+ ``` text
158
+ $357,595,758,499.02
159
+ $8,761,416.05
160
+ $243,789,586
161
+ $7
162
+ $191.23
163
+ $64,177.17
164
+ $1.47
165
+ ...
166
+ ```
167
+
168
+ ### Lorem ipsum ...
169
+
170
+ See the result first, before you see the crazy Regex, no kind person should ever
171
+ be forced to write 8-)
172
+
173
+ ``` text
174
+ Debitis perspiciatis enim, obcaecati natus beatae nobis
175
+ praesentium corporis asperiores sint vitae voluptas, sunt
176
+ harum sit enim mollitia laboriosam quod explicabo minima
177
+ nulla eaque deleniti hic? Deserunt quas nulla, corporis
178
+ nobis blanditiis explicabo amet error necessitatibus
179
+ earum, cum qui repudiandae sunt similique deserunt sed
180
+ reprehenderit sequi eaque commodi corporis, officia
181
+ repellendus quod, magnam ducimus ad delectus ratione,
182
+ nemo odio expedita soluta qui vel incidunt possimus neque
183
+ eos pariatur? Cumque ipsam eos ratione ipsam, perferendis
184
+ enim cum corrupti, quia ducimus aperiam iste laborum
185
+ veritatis cupiditate exercitationem iusto veritatis natus
186
+ architecto reiciendis, necessitatibus odio magnam eius
187
+ vel corporis velit atque? Optio quas maxime officia
188
+ deserunt soluta laboriosam quidem.
189
+ ```
190
+
191
+
192
+ ``` elm
193
+ let
194
+ regex =
195
+ "((Exercitationem|Perferendis|Perspiciatis|Laborum|"
196
+ ++ "Eveniet|Sunt|Iure|Nam|Nobis|Eum|Cum|Officiis|Ex"
197
+ ++ "cepturi|Odio|Consectetur|Quasi|Aut|Quisquam|Vel"
198
+ ++ "|Eligendi|Itaque|Non|Odit|Tempore|Quaerat|Digni"
199
+ ++ "ssimos|Facilis|Neque|Nihil|Expedita|Vitae|Vero|"
200
+ ++ "Ipsum|Nisi|Animi|Cumque|Pariatur|Velit|Modi|Nat"
201
+ ++ "us|Iusto|Eaque|Sequi|Illo|Sed|Ex|Et|Voluptatibu"
202
+ ++ "s|Tempora|Veritatis|Ratione|Assumenda|Incidunt|"
203
+ ++ "Nostrum|Placeat|Aliquid|Fuga|Provident|Praesent"
204
+ ++ "ium|Rem|Necessitatibus|Suscipit|Adipisci|Quidem"
205
+ ++ "|Possimus|Voluptas|Debitis|Sint|Accusantium|Und"
206
+ ++ "e|Sapiente|Voluptate|Qui|Aspernatur|Laudantium|"
207
+ ++ "Soluta|Amet|Quo|Aliquam|Saepe|Culpa|Libero|Ipsa"
208
+ ++ "|Dicta|Reiciendis|Nesciunt|Doloribus|Autem|Impe"
209
+ ++ "dit|Minima|Maiores|Repudiandae|Ipsam|Obcaecati|"
210
+ ++ "Ullam|Enim|Totam|Delectus|Ducimus|Quis|Voluptat"
211
+ ++ "es|Dolores|Molestiae|Harum|Dolorem|Quia|Volupta"
212
+ ++ "tem|Molestias|Magni|Distinctio|Omnis|Illum|Dolo"
213
+ ++ "rum|Voluptatum|Ea|Quas|Quam|Corporis|Quae|Bland"
214
+ ++ "itiis|Atque|Deserunt|Laboriosam|Earum|Consequun"
215
+ ++ "tur|Hic|Cupiditate|Quibusdam|Accusamus|Ut|Rerum"
216
+ ++ "|Error|Minus|Eius|Ab|Ad|Nemo|Fugit|Officia|At|I"
217
+ ++ "n|Id|Quos|Reprehenderit|Numquam|Iste|Fugiat|Sit"
218
+ ++ "|Inventore|Beatae|Repellendus|Magnam|Recusandae"
219
+ ++ "|Quod|Explicabo|Doloremque|Aperiam|Consequatur|"
220
+ ++ "Asperiores|Commodi|Optio|Dolor|Labore|Temporibu"
221
+ ++ "s|Repellat|Veniam|Architecto|Est|Esse|Mollitia|"
222
+ ++ "Nulla|A|Similique|Eos|Alias|Dolore|Tenetur|Dele"
223
+ ++ "niti|Porro|Facere|Maxime|Corrupti)( (exercitati"
224
+ ++ "onem|perferendis|perspiciatis|laborum|eveniet|s"
225
+ ++ "unt|iure|nam|nobis|eum|cum|officiis|excepturi|o"
226
+ ++ "dio|consectetur|quasi|aut|quisquam|vel|eligendi"
227
+ ++ "|itaque|non|odit|tempore|quaerat|dignissimos|fa"
228
+ ++ "cilis|neque|nihil|expedita|vitae|vero|ipsum|nis"
229
+ ++ "i|animi|cumque|pariatur|velit|modi|natus|iusto|"
230
+ ++ "eaque|sequi|illo|sed|ex|et|voluptatibus|tempora"
231
+ ++ "|veritatis|ratione|assumenda|incidunt|nostrum|p"
232
+ ++ "laceat|aliquid|fuga|provident|praesentium|rem|n"
233
+ ++ "ecessitatibus|suscipit|adipisci|quidem|possimus"
234
+ ++ "|voluptas|debitis|sint|accusantium|unde|sapient"
235
+ ++ "e|voluptate|qui|aspernatur|laudantium|soluta|am"
236
+ ++ "et|quo|aliquam|saepe|culpa|libero|ipsa|dicta|re"
237
+ ++ "iciendis|nesciunt|doloribus|autem|impedit|minim"
238
+ ++ "a|maiores|repudiandae|ipsam|obcaecati|ullam|eni"
239
+ ++ "m|totam|delectus|ducimus|quis|voluptates|dolore"
240
+ ++ "s|molestiae|harum|dolorem|quia|voluptatem|moles"
241
+ ++ "tias|magni|distinctio|omnis|illum|dolorum|volup"
242
+ ++ "tatum|ea|quas|quam|corporis|quae|blanditiis|atq"
243
+ ++ "ue|deserunt|laboriosam|earum|consequuntur|hic|c"
244
+ ++ "upiditate|quibusdam|accusamus|ut|rerum|error|mi"
245
+ ++ "nus|eius|ab|ad|nemo|fugit|officia|at|in|id|quos"
246
+ ++ "|reprehenderit|numquam|iste|fugiat|sit|inventor"
247
+ ++ "e|beatae|repellendus|magnam|recusandae|quod|exp"
248
+ ++ "licabo|doloremque|aperiam|consequatur|asperiore"
249
+ ++ "s|commodi|optio|dolor|labore|temporibus|repella"
250
+ ++ "t|veniam|architecto|est|esse|mollitia|nulla|a|s"
251
+ ++ "imilique|eos|alias|dolore|tenetur|deleniti|porr"
252
+ ++ "o|facere|maxime|corrupti)){2,12}(, (exercitatio"
253
+ ++ "nem|perferendis|perspiciatis|laborum|eveniet|su"
254
+ ++ "nt|iure|nam|nobis|eum|cum|officiis|excepturi|od"
255
+ ++ "io|consectetur|quasi|aut|quisquam|vel|eligendi|"
256
+ ++ "itaque|non|odit|tempore|quaerat|dignissimos|fac"
257
+ ++ "ilis|neque|nihil|expedita|vitae|vero|ipsum|nisi"
258
+ ++ "|animi|cumque|pariatur|velit|modi|natus|iusto|e"
259
+ ++ "aque|sequi|illo|sed|ex|et|voluptatibus|tempora|"
260
+ ++ "veritatis|ratione|assumenda|incidunt|nostrum|pl"
261
+ ++ "aceat|aliquid|fuga|provident|praesentium|rem|ne"
262
+ ++ "cessitatibus|suscipit|adipisci|quidem|possimus|"
263
+ ++ "voluptas|debitis|sint|accusantium|unde|sapiente"
264
+ ++ "|voluptate|qui|aspernatur|laudantium|soluta|ame"
265
+ ++ "t|quo|aliquam|saepe|culpa|libero|ipsa|dicta|rei"
266
+ ++ "ciendis|nesciunt|doloribus|autem|impedit|minima"
267
+ ++ "|maiores|repudiandae|ipsam|obcaecati|ullam|enim"
268
+ ++ "|totam|delectus|ducimus|quis|voluptates|dolores"
269
+ ++ "|molestiae|harum|dolorem|quia|voluptatem|molest"
270
+ ++ "ias|magni|distinctio|omnis|illum|dolorum|volupt"
271
+ ++ "atum|ea|quas|quam|corporis|quae|blanditiis|atqu"
272
+ ++ "e|deserunt|laboriosam|earum|consequuntur|hic|cu"
273
+ ++ "piditate|quibusdam|accusamus|ut|rerum|error|min"
274
+ ++ "us|eius|ab|ad|nemo|fugit|officia|at|in|id|quos|"
275
+ ++ "reprehenderit|numquam|iste|fugiat|sit|inventore"
276
+ ++ "|beatae|repellendus|magnam|recusandae|quod|expl"
277
+ ++ "icabo|doloremque|aperiam|consequatur|asperiores"
278
+ ++ "|commodi|optio|dolor|labore|temporibus|repellat"
279
+ ++ "|veniam|architecto|est|esse|mollitia|nulla|a|si"
280
+ ++ "milique|eos|alias|dolore|tenetur|deleniti|porro"
281
+ ++ "|facere|maxime|corrupti)( (exercitationem|perfe"
282
+ ++ "rendis|perspiciatis|laborum|eveniet|sunt|iure|n"
283
+ ++ "am|nobis|eum|cum|officiis|excepturi|odio|consec"
284
+ ++ "tetur|quasi|aut|quisquam|vel|eligendi|itaque|no"
285
+ ++ "n|odit|tempore|quaerat|dignissimos|facilis|nequ"
286
+ ++ "e|nihil|expedita|vitae|vero|ipsum|nisi|animi|cu"
287
+ ++ "mque|pariatur|velit|modi|natus|iusto|eaque|sequ"
288
+ ++ "i|illo|sed|ex|et|voluptatibus|tempora|veritatis"
289
+ ++ "|ratione|assumenda|incidunt|nostrum|placeat|ali"
290
+ ++ "quid|fuga|provident|praesentium|rem|necessitati"
291
+ ++ "bus|suscipit|adipisci|quidem|possimus|voluptas|"
292
+ ++ "debitis|sint|accusantium|unde|sapiente|voluptat"
293
+ ++ "e|qui|aspernatur|laudantium|soluta|amet|quo|ali"
294
+ ++ "quam|saepe|culpa|libero|ipsa|dicta|reiciendis|n"
295
+ ++ "esciunt|doloribus|autem|impedit|minima|maiores|"
296
+ ++ "repudiandae|ipsam|obcaecati|ullam|enim|totam|de"
297
+ ++ "lectus|ducimus|quis|voluptates|dolores|molestia"
298
+ ++ "e|harum|dolorem|quia|voluptatem|molestias|magni"
299
+ ++ "|distinctio|omnis|illum|dolorum|voluptatum|ea|q"
300
+ ++ "uas|quam|corporis|quae|blanditiis|atque|deserun"
301
+ ++ "t|laboriosam|earum|consequuntur|hic|cupiditate|"
302
+ ++ "quibusdam|accusamus|ut|rerum|error|minus|eius|a"
303
+ ++ "b|ad|nemo|fugit|officia|at|in|id|quos|reprehend"
304
+ ++ "erit|numquam|iste|fugiat|sit|inventore|beatae|r"
305
+ ++ "epellendus|magnam|recusandae|quod|explicabo|dol"
306
+ ++ "oremque|aperiam|consequatur|asperiores|commodi|"
307
+ ++ "optio|dolor|labore|temporibus|repellat|veniam|a"
308
+ ++ "rchitecto|est|esse|mollitia|nulla|a|similique|e"
309
+ ++ "os|alias|dolore|tenetur|deleniti|porro|facere|m"
310
+ ++ "axime|corrupti)){2,12}){0,5}[.?] ){1,4}"
311
+ in
312
+ Random.Regex.ascii regex
313
+ ```
@@ -0,0 +1 @@
1
+ [{"name":"Random.Regex","comment":" This library helps you generate random strings from regular expressions.\n\nIt is not tested yet, but in most cases it works. What is missing so far are\nassertions and back references.\n\nTested regular expressions:\n\n - _Date_ :\n \"(January|February|March|April|May|June|July|August|September|October|November|December) ([1-9]|[12][0-9]|3[01]), (19|20)[0-9]\"\n\n `August 12, 1943`\n\n - _Time_ :\n \"(1[0-2]|0[1-9])(:[0-5]\\\\d){2} (A|P)M\"\n\n `06:01:34 AM`\n\n - _SHA1 Hash_ :\n \"[a-f0-9]{40}\"\n\n `1744620aca430ed0a084aa294b2651e7c78be09e`\n\n - _Currency_ :\n \"$([1-9]{1,3}(,\\\\d{3}){0,3}|([1-9]{1,3}))(.\\\\d{2})?\"\n\n `$357,595,758,499.02`\n\n - _Lorem ipsum ..._:\n \"((Exercitationem|Perferendis|Perspiciatis|Laborum|Eveniet|Sunt|Iure|Nam|Nobis|Eum|Cum|Officiis|Excepturi|Odio|Consectetur|Quasi|Aut|Quisquam|Vel|Eligendi|Itaque|Non|Odit|Tempore|Quaerat|Dignissimos|Facilis|Neque|Nihil|Expedita|Vitae|Vero|Ipsum|Nisi|Animi|Cumque|Pariatur|Velit|Modi|Natus|Iusto|Eaque|Sequi|Illo|Sed|Ex|Et|Voluptatibus|Tempora|Veritatis|Ratione|Assumenda|Incidunt|Nostrum|Placeat|Aliquid|Fuga|Provident|Praesentium|Rem|Necessitatibus|Suscipit|Adipisci|Quidem|Possimus|Voluptas|Debitis|Sint|Accusantium|Unde|Sapiente|Voluptate|Qui|Aspernatur|Laudantium|Soluta|Amet|Quo|Aliquam|Saepe|Culpa|Libero|Ipsa|Dicta|Reiciendis|Nesciunt|Doloribus|Autem|Impedit|Minima|Maiores|Repudiandae|Ipsam|Obcaecati|Ullam|Enim|Totam|Delectus|Ducimus|Quis|Voluptates|Dolores|Molestiae|Harum|Dolorem|Quia|Voluptatem|Molestias|Magni|Distinctio|Omnis|Illum|Dolorum|Voluptatum|Ea|Quas|Quam|Corporis|Quae|Blanditiis|Atque|Deserunt|Laboriosam|Earum|Consequuntur|Hic|Cupiditate|Quibusdam|Accusamus|Ut|Rerum|Error|Minus|Eius|Ab|Ad|Nemo|Fugit|Officia|At|In|Id|Quos|Reprehenderit|Numquam|Iste|Fugiat|Sit|Inventore|Beatae|Repellendus|Magnam|Recusandae|Quod|Explicabo|Doloremque|Aperiam|Consequatur|Asperiores|Commodi|Optio|Dolor|Labore|Temporibus|Repellat|Veniam|Architecto|Est|Esse|Mollitia|Nulla|A|Similique|Eos|Alias|Dolore|Tenetur|Deleniti|Porro|Facere|Maxime|Corrupti)( (exercitationem|perferendis|perspiciatis|laborum|eveniet|sunt|iure|nam|nobis|eum|cum|officiis|excepturi|odio|consectetur|quasi|aut|quisquam|vel|eligendi|itaque|non|odit|tempore|quaerat|dignissimos|facilis|neque|nihil|expedita|vitae|vero|ipsum|nisi|animi|cumque|pariatur|velit|modi|natus|iusto|eaque|sequi|illo|sed|ex|et|voluptatibus|tempora|veritatis|ratione|assumenda|incidunt|nostrum|placeat|aliquid|fuga|provident|praesentium|rem|necessitatibus|suscipit|adipisci|quidem|possimus|voluptas|debitis|sint|accusantium|unde|sapiente|voluptate|qui|aspernatur|laudantium|soluta|amet|quo|aliquam|saepe|culpa|libero|ipsa|dicta|reiciendis|nesciunt|doloribus|autem|impedit|minima|maiores|repudiandae|ipsam|obcaecati|ullam|enim|totam|delectus|ducimus|quis|voluptates|dolores|molestiae|harum|dolorem|quia|voluptatem|molestias|magni|distinctio|omnis|illum|dolorum|voluptatum|ea|quas|quam|corporis|quae|blanditiis|atque|deserunt|laboriosam|earum|consequuntur|hic|cupiditate|quibusdam|accusamus|ut|rerum|error|minus|eius|ab|ad|nemo|fugit|officia|at|in|id|quos|reprehenderit|numquam|iste|fugiat|sit|inventore|beatae|repellendus|magnam|recusandae|quod|explicabo|doloremque|aperiam|consequatur|asperiores|commodi|optio|dolor|labore|temporibus|repellat|veniam|architecto|est|esse|mollitia|nulla|a|similique|eos|alias|dolore|tenetur|deleniti|porro|facere|maxime|corrupti)){2,12}(, (exercitationem|perferendis|perspiciatis|laborum|eveniet|sunt|iure|nam|nobis|eum|cum|officiis|excepturi|odio|consectetur|quasi|aut|quisquam|vel|eligendi|itaque|non|odit|tempore|quaerat|dignissimos|facilis|neque|nihil|expedita|vitae|vero|ipsum|nisi|animi|cumque|pariatur|velit|modi|natus|iusto|eaque|sequi|illo|sed|ex|et|voluptatibus|tempora|veritatis|ratione|assumenda|incidunt|nostrum|placeat|aliquid|fuga|provident|praesentium|rem|necessitatibus|suscipit|adipisci|quidem|possimus|voluptas|debitis|sint|accusantium|unde|sapiente|voluptate|qui|aspernatur|laudantium|soluta|amet|quo|aliquam|saepe|culpa|libero|ipsa|dicta|reiciendis|nesciunt|doloribus|autem|impedit|minima|maiores|repudiandae|ipsam|obcaecati|ullam|enim|totam|delectus|ducimus|quis|voluptates|dolores|molestiae|harum|dolorem|quia|voluptatem|molestias|magni|distinctio|omnis|illum|dolorum|voluptatum|ea|quas|quam|corporis|quae|blanditiis|atque|deserunt|laboriosam|earum|consequuntur|hic|cupiditate|quibusdam|accusamus|ut|rerum|error|minus|eius|ab|ad|nemo|fugit|officia|at|in|id|quos|reprehenderit|numquam|iste|fugiat|sit|inventore|beatae|repellendus|magnam|recusandae|quod|explicabo|doloremque|aperiam|consequatur|asperiores|commodi|optio|dolor|labore|temporibus|repellat|veniam|architecto|est|esse|mollitia|nulla|a|similique|eos|alias|dolore|tenetur|deleniti|porro|facere|maxime|corrupti)( (exercitationem|perferendis|perspiciatis|laborum|eveniet|sunt|iure|nam|nobis|eum|cum|officiis|excepturi|odio|consectetur|quasi|aut|quisquam|vel|eligendi|itaque|non|odit|tempore|quaerat|dignissimos|facilis|neque|nihil|expedita|vitae|vero|ipsum|nisi|animi|cumque|pariatur|velit|modi|natus|iusto|eaque|sequi|illo|sed|ex|et|voluptatibus|tempora|veritatis|ratione|assumenda|incidunt|nostrum|placeat|aliquid|fuga|provident|praesentium|rem|necessitatibus|suscipit|adipisci|quidem|possimus|voluptas|debitis|sint|accusantium|unde|sapiente|voluptate|qui|aspernatur|laudantium|soluta|amet|quo|aliquam|saepe|culpa|libero|ipsa|dicta|reiciendis|nesciunt|doloribus|autem|impedit|minima|maiores|repudiandae|ipsam|obcaecati|ullam|enim|totam|delectus|ducimus|quis|voluptates|dolores|molestiae|harum|dolorem|quia|voluptatem|molestias|magni|distinctio|omnis|illum|dolorum|voluptatum|ea|quas|quam|corporis|quae|blanditiis|atque|deserunt|laboriosam|earum|consequuntur|hic|cupiditate|quibusdam|accusamus|ut|rerum|error|minus|eius|ab|ad|nemo|fugit|officia|at|in|id|quos|reprehenderit|numquam|iste|fugiat|sit|inventore|beatae|repellendus|magnam|recusandae|quod|explicabo|doloremque|aperiam|consequatur|asperiores|commodi|optio|dolor|labore|temporibus|repellat|veniam|architecto|est|esse|mollitia|nulla|a|similique|eos|alias|dolore|tenetur|deleniti|porro|facere|maxime|corrupti)){2,12}){0,5}[.?] ){1,4}\"\n\n `Debitis perspiciatis enim, obcaecati natus beatae nobis praesentium corporis asperiores sint vitae voluptas, sunt harum sit enim mollitia laboriosam quod explicabo minima nulla eaque deleniti hic? Deserunt quas nulla, corporis nobis blanditiis explicabo amet error necessitatibus earum, cum qui repudiandae sunt similique deserunt sed reprehenderit sequi eaque commodi corporis, officia repellendus quod, magnam ducimus ad delectus ratione, nemo odio expedita soluta qui vel incidunt possimus neque eos pariatur? Cumque ipsam eos ratione ipsam, perferendis enim cum corrupti, quia ducimus aperiam iste laborum veritatis cupiditate exercitationem iusto veritatis natus architecto reiciendis, necessitatibus odio magnam eius vel corporis velit atque? Optio quas maxime officia deserunt soluta laboriosam quidem.`\n\n@docs ascii, generate, unicode\n\n@docs Encoding\n\n","unions":[{"name":"Encoding","comment":" Encoding defines the type of random characters to generate, for example for\nthe `.` dot operator.\n\n - `ASCII` : will generate values between 0 and 255\n - `UNICODE` : will generate 16 bit values\n\n","args":[],"cases":[["ASCII",[]],["UNICODE",[]]]}],"aliases":[],"values":[{"name":"ascii","comment":" Create a generator that produces ASCII strings based on a regular\nexpression. Infinty is set to max 250, if you are using modifiers such as\n`*` or `+`. It is a shortcut for function `generate`.\n","type":"String.String -> Result.Result String.String (Random.Generator String.String)"},{"name":"generate","comment":" Create a generator that produces strings based on regular expressions.\n\n generate ASCII 200 \"a-z*\" of\n Ok result ->\n ( model, Random.generate GenResult result )\n\n Err msg ->\n ( { model | result = msg }, Cmd.none )\n\n","type":"Random.Regex.Encoding -> Basics.Int -> String.String -> Result.Result String.String (Random.Generator String.String)"},{"name":"unicode","comment":" Create a generator that produces UNICODE strings based on a regular\nexpression. Infinty is set to max 250, if you are using modifiers such as\n`*` or `+`. It is a shortcut for function `generate`.\n","type":"String.String -> Result.Result String.String (Random.Generator String.String)"}],"binops":[]}]
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2016 Jovansonlee B. Cesar
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.