Skip to content

Instantly share code, notes, and snippets.

@minamiyama1994
Created August 10, 2014 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minamiyama1994/cd57075f9a512f8a01a2 to your computer and use it in GitHub Desktop.
Save minamiyama1994/cd57075f9a512f8a01a2 to your computer and use it in GitHub Desktop.
def to_string(value)
value.to_s
end
toString :: Show a => a -> String
toString value = show value
template < typename T >
auto to_string ( const T & value ) -> std::string
{
return boost::lexical_cast < std::string > ( value ) ;
}
hoge :: [ a ] -> Int
hoge l = length l
hoge :: a -> b
Goal forall A B C : Prop , ( A -> B ) -> ( B -> C ) -> ( A -> C ).
Proof.
intros.
apply H0.
apply H.
apply H1.
Qed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment