File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -9,26 +9,30 @@ Boolean data type has two possible truth values to represent logic.<br>
99``` elm 
1010import  Boolean  exposing  (..)
1111
12- parse  " inactive" 
13- --  False
14- 
15- parse  " not off" 
16- --  True
17- 
12+ parse  " 1" 
1813parse  " truthy" 
14+ parse  " not off" 
1915--  True
2016
21- xor3  True  True  True 
22- --  True
17+ parse  " not true" 
18+ parse  " inactive" 
19+ parse  " disabled" 
20+ --  False
2321
2422imply  True  False 
2523--  False
2624
2725eq  False  False 
2826--  True
2927
28+ xor3  True  True  True 
29+ --  True
30+ 
31+ select3  1  True  False  True 
32+ --  False         ^
33+ 
3034count3  True  True  False 
31- --  2
35+ --  2    ^    ^ 
3236``` 
3337
3438<br >
@@ -50,6 +54,7 @@ count3 True True False
5054|  [ eq]      |  Check if antecedent ⇔ consequent.     | 
5155|  [ imply]   |  Check if antecedent ⇒ consequent.     | 
5256|  [ nimply]  |  Check if antecedent ⇏ consequent.     | 
57+ |  [ select]  |  Check if ith value is true.           | 
5358|  [ count]   |  Count no. of true values.             | 
5459
5560[ parse ] : https://github.com/elmw/extra-boolean/wiki/parse 
@@ -63,6 +68,7 @@ count3 True True False
6368[ eq ] : https://github.com/elmw/extra-boolean/wiki/eq 
6469[ imply ] : https://github.com/elmw/extra-boolean/wiki/imply 
6570[ nimply ] : https://github.com/elmw/extra-boolean/wiki/nimply 
71+ [ select ] : https://github.com/elmw/extra-boolean/wiki/select 
6672[ count ] : https://github.com/elmw/extra-boolean/wiki/count 
6773
6874<br >
Original file line number Diff line number Diff line change 33    "name" : " elmw/extra-boolean" 
44    "summary" : " Boolean data type has two possible truth values to represent logic." 
55    "license" : " MIT" 
6-     "version" : " 1.2.0 " 
6+     "version" : " 1.2.1 " 
77    "exposed-modules" : [
88        " Boolean" 
99    ],
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments