Explore >> Select a destination


You are here

pavpanchekha.com
| | sitr.us
23.0 parsecs away

Travel
| | Dependent types provide an unprecedented level of type safety. A quick example is a type-safe printf implementation. They are also useful for theorem proving. According to the Curry-Howard correspondence, mathematical propositions can be represented in a program as types. An implementation that satisfies a given type serves as a proof of the corresponding proposition. In other words, inhabited types represent true propositions.
| | kuruczgy.com
18.0 parsecs away

Travel
| | [AI summary] The article explores the intersection of functional programming and logic through the lens of dependent types. It begins with foundational concepts like type constructors and inductive types, then delves into the Curry-Howard isomorphism, which links programs to mathematical proofs. The discussion covers how types represent propositions, functions as implications, and inductive types as proof strategies. Examples include defining logical relations like less than or equal to and equality, and demonstrating how to prove properties like universal quantification and mathematical identities. The article concludes with an overview of resources for further study in proof assistants like Coq and Idris, emphasizing the practical applications of dependent...
| | bentnib.org
19.0 parsecs away

Travel
| |
| | blog.nobugware.com
58.1 parsecs away

Travel
| It's more a reminder to myself, gevent depends on libevent2 but the setup.py doesn't correcty look for it, a simple solution: export CFLAGS=-I/usr/local/include export LDFLAGS=-L/usr/local/lib pip install gevent change it for /opt/local/... if you are on OSX or you will get a bunch of errors /Developer/usr/bin/llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c...