Agda User Manual v2.5.4.2https://www.haskell.org/alex/ Happy: https://www.haskell.org/happy/ GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search for the C libraries zlib* and ncurses* are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian Compiling Agda Code Introduction Agda programs are commonly edited using Emacs [http://www.gnu.org/software/emacs/] or Atom [https://atom.io/packages/agda-mode]. To edit a module (assuming you have installed0 码力 | 216 页 | 207.61 KB | 1 年前3
Agda User Manual v2.5.4.1haskell.org/happy/ cpphs: https://hackage.haskell.org/package/cpphs GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search for the C libraries zlib* and ncurses* are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian Compiling Agda Code Introduction Agda programs are commonly edited using Emacs [http://www.gnu.org/software/emacs/] or Atom [https://atom.io/packages/agda-mode]. To edit a module (assuming you have installed0 码力 | 216 页 | 207.64 KB | 1 年前3
Agda User Manual v2.5.4haskell.org/happy/ cpphs: https://hackage.haskell.org/package/cpphs GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search for the C libraries zlib* and ncurses* are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian Compiling Agda Code Introduction Agda programs are commonly edited using Emacs [http://www.gnu.org/software/emacs/] or Atom [https://atom.io/packages/agda-mode]. To edit a module (assuming you have installed0 码力 | 216 页 | 207.63 KB | 1 年前3
Agda User Manual v2.5.3≡ x {-# BUILTIN EQUALITY _≡_ #-} This lets you use proofs of type lhs ≡ rhs in the rewrite construction. Other variants of the identity type are also accepted as built-in: data _≡_ {A : Set} : (x Anonymous modules Basics First let us introduce some terminology. A definition is a syntactic construction defining an entity such as a function or a datatype. A name is a string used to identify definitions y : Y z : Z module M where x = ... y = ... r : R r = record { M; z = ... } This construction supports any combination of explicit field definitions and applied modules. If a field is both0 码力 | 185 页 | 185.00 KB | 1 年前3
Agda User Manual v2.5.2#-} {-# BUILTIN REFL refl #-} This lets you use proofs of type lhs ≡ rhs in the rewrite construction. primTrustMe module Agda.Builtin.TrustMe Binding the built-in equality type also enables the Anonymous modules Basics First let us introduce some terminology. A definition is a syntactic construction defining an entity such as a function or a datatype. A name is a string used to identify definitions thm : (a b : Nat) → P (a + b) → P (b + a) thm a b t rewrite plus-commute a b = t The rewrite construction takes a term eq of type lhs ≡ rhs, where _≡_ is the built- in equality type, and expands to a0 码力 | 151 页 | 152.49 KB | 1 年前3
Agda User Manual v2.6.3https://www.haskell.org/alex/ Happy: https://www.haskell.org/happy/ GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search for the C libraries zlib and ncurses are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian an alternative haskell package set. OS X Homebrew [https://brew.sh] is a free and open-source software package management system that provides prebuilt packages for OS X. Once it is installed in your0 码力 | 379 页 | 354.83 KB | 1 年前3
Agda User Manual v2.6.2https://www.haskell.org/alex/ Happy: https://www.haskell.org/happy/ GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search files for the C libraries zlib and ncurses are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian particular project using nix-shell. OS X Homebrew [https://brew.sh] is a free and open-source software package management system that provides prebuilt packages for OS X. Once it is installed in your0 码力 | 348 页 | 414.11 KB | 1 年前3
Agda User Manual v2.6.2.2https://www.haskell.org/alex/ Happy: https://www.haskell.org/happy/ GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search files for the C libraries zlib and ncurses are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian an alternative haskell package set. OS X Homebrew [https://brew.sh] is a free and open-source software package management system that provides prebuilt packages for OS X. Once it is installed in your0 码力 | 354 页 | 433.60 KB | 1 年前3
Agda User Manual v2.6.2.1https://www.haskell.org/alex/ Happy: https://www.haskell.org/happy/ GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search files for the C libraries zlib and ncurses are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian an alternative haskell package set. OS X Homebrew [https://brew.sh] is a free and open-source software package management system that provides prebuilt packages for OS X. Once it is installed in your0 码力 | 350 页 | 416.80 KB | 1 年前3
Agda User Manual v2.6.1.3https://www.haskell.org/alex/ Happy: https://www.haskell.org/happy/ GNU Emacs: http://www.gnu.org/software/emacs/ You should also make sure that programs installed by cabal-install are on your shell’s search for the C libraries zlib* and ncurses* are installed (see http://zlib.net and http://www.gnu.org/software/ncurses/). Your package manager may be able to install these files for you. For instance, on Debian currently not installed automatically. OS X Homebrew [https://brew.sh] is a free and open-source software package management system that provides prebuilt packages for OS X. Once it is installed in your0 码力 | 305 页 | 375.80 KB | 1 年前3
共 572 条
- 1
- 2
- 3
- 4
- 5
- 6
- 58













