Skip to content

epsanchezma/elixir-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contracts

Design by Contract for Elixir

Usage

requires x > 0
ensures (result * result) <= x && (result+1) * (result+1) > x
def sqrt(x) do
  :math.sqrt(x)
end

About

Desing by Contracts for Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages