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
namespace nat.tactic | |
open nat | |
open tactic | |
meta def match_le (e : expr) : tactic (expr × expr) := | |
match expr.is_le e with | |
| (some r) := return r | |
| none := tactic.fail "expression is not a leq" | |
end |
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
{-# LANGUAGE OverloadedStrings #-} | |
import Control.Monad | |
import Data.Foldable | |
import Data.IntMap (IntMap) | |
import qualified Data.IntMap as IMap | |
import Data.Map (Map) | |
import qualified Data.Map as Map | |
import Data.Maybe | |
import Data.Set (Set) | |
import qualified Data.Set as Set |
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
{-# LANGUAGE OverloadedStrings #-} | |
import Control.Monad | |
import Data.Foldable | |
import Data.IntMap (IntMap) | |
import qualified Data.IntMap as IMap | |
import Data.Map (Map) | |
import qualified Data.Map as Map | |
import Data.Maybe | |
import Data.Set (Set) | |
import qualified Data.Set as Set |
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
class Friend { | |
constructor() { | |
console.log('Hello friend') | |
} | |
} | |
function f() { | |
new Object() | |
} |