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
{-# OPTIONS_GHC | |
-ddump-simpl | |
-dsuppress-idinfo | |
-dsuppress-coercions | |
-dsuppress-type-applications | |
-dsuppress-uniques | |
-dsuppress-module-prefixes | |
#-} | |
import Debug.Trace |
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
{-# OPTIONS_GHC | |
-ddump-simpl | |
-dsuppress-idinfo | |
-dsuppress-coercions | |
-dsuppress-type-applications | |
-dsuppress-uniques | |
-dsuppress-module-prefixes | |
#-} | |
import Debug.Trace |
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
{-# OPTIONS_GHC | |
-ddump-simpl | |
-dsuppress-idinfo | |
-dsuppress-coercions | |
-dsuppress-type-applications | |
-dsuppress-uniques | |
-dsuppress-module-prefixes | |
#-} | |
import Control.Monad |
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
{-# OPTIONS_GHC | |
-ddump-simpl | |
-dsuppress-idinfo | |
-dsuppress-coercions | |
-dsuppress-type-applications | |
-dsuppress-uniques | |
-dsuppress-module-prefixes | |
#-} | |
import Debug.Trace |
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
package nfc; | |
import java.awt.MouseInfo; | |
import java.awt.Robot; | |
import java.awt.event.KeyEvent; | |
import java.util.List; | |
import javax.smartcardio.*; | |
public class SmartCardReader { |
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 HContainer : Type := | |
{ | |
Shape : Type; | |
Pos : Shape -> Type; | |
Ctx : forall s : Shape, Pos s -> Type -> Type; | |
}. | |
Inductive Ext (C : HContainer) (F : Type -> Type) A := | |
ext : forall s, (forall p : Pos s, F (Ctx s p A)) -> Ext C F A. |
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
Require Import Coq.Logic.FunctionalExtensionality. | |
Require Import Coq.Program.Equality. | |
Inductive Ext Shape (Pos : Shape -> Type -> Type -> Type) (F : Type -> Type) A := | |
ext : forall s, (forall X, Pos s A X -> F X) -> Ext Shape Pos F A. | |
Arguments ext {_} {_} {_} {_} s pf. | |
Set Implicit Arguments. |
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 DeriveFunctor #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE KindSignatures #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
{-# LANGUAGE PatternSynonyms #-} | |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE UndecidableInstances #-} |