Agda User Manual v2.5.2define an appropriate data type and then bind that type to the natural number concept using a BUILTIN pragma. Some built-in types support primitive functions that have no corresponding Agda definition. These built-ins for sized types are different from other built-ins in that the names are defined by the BUILTIN pragma. Hence, to bind the size primitives it is enough to write: {-# BUILTIN SIZEUNIV SizeUniv #-} -- about programs using primForce, evaluates to refl when x is in whnf. At run-time, primForce e f is compiled (by the GHC and UHC backends) to let x = e in seq x (f x). For example, consider the following0 码力 | 107 页 | 510.49 KB | 2 年前3
SQLite TutorialORDER BY Clause: ..................................................................... 24 SQLite PRAGMA Statement: ................................................................... 24 SQLite RELEASE ..................................................................................... 75 SQLite PRAGMA ................................................................... 77 Syntax: ................ ............................. 77 auto_vacuum Pragma .............................................................................. 77 cache_size Pragma ..............................................0 码力 | 172 页 | 1.27 MB | 2 年前3
Agda User Manual v2.5.2Mutual Recursion • Old Syntax • Pattern Synonyms • Positivity Checking ○ NO POSITIVITY CHECK pragma ○ POLARITY pragmas • Postulates • Pragmas • Record Types ☐ Record declarations ☐ Record modules define an appropriate data type and then bind that type to the natural number concept using a BUILTIN pragma. Some built-in types support primitive functions that have no corresponding Agda definition. These built-ins for sized types are different from other built-ins in that the names are defined by the BUILTIN pragma. Hence, to bind the size primitives it is enough to write: {-# BUILTIN SIZEUNIV SizeUniv #-} --0 码力 | 151 页 | 152.49 KB | 2 年前3
Agda User Manual v2.6.4.3reinstall the Agda mode without recompiling the Emacs Lisp files, then Emacs may continue using the old, compiled files. ## Step 4 : Installing the standard library Installing the standard library, should you run (putStrLn "Hello, World!") A quick line-by-line explanation: • The first line is a pragma (a special comment) that specifies some options at the top of the file. • The second line declares exporting a function main of type Main (defined in the IO module of the standard library) can be compiled to a standalone executable. For example: main = run (putStrLn "Hello, World!") runs the0 码力 | 311 页 | 1.38 MB | 2 年前3
Agda User Manual v2.6.4.2reinstall the Agda mode without recompiling the Emacs Lisp files, then Emacs may continue using the old, compiled files. ## Step 4 : Installing the standard library Installing the standard library, should you run (putStrLn "Hello, World!") A quick line-by-line explanation: • The first line is a pragma (a special comment) that specifies some options at the top of the file. • The second line declares exporting a function main of type Main (defined in the IO module of the standard library) can be compiled to a standalone executable. For example: main = run (putStrLn "Hello, World!") runs the0 码力 | 311 页 | 1.38 MB | 2 年前3
Agda User Manual v2.6.1.1reinstall the Agda mode without recompiling the Emacs Lisp files, then Emacs may continue using the old, compiled files. If you use Nix-style Local Builds [https://www.haskell.org/cabal/users-guide/nix-local-build-overview (except run cabal install instead of cabal install Agda) or You can try to install Agda (including a compiled Emacs mode) by running the following command: make install Note that on a Mac, because ICU is com/agda/agda-stdlib] and brings its contents into scope. • A module exporting a function main : IO a can be compiled to a standalone executable. For example: main = run (putStrLn "Hello, World!") runs the0 码力 | 297 页 | 375.42 KB | 2 年前3
Agda User Manual v2.6.1reinstall the Agda mode without recompiling the Emacs Lisp files, then Emacs may continue using the old, compiled files. If you use Nix-style Local Builds [https://www.haskell.org/cabal/users-guide/nix-local-build-overview (except run cabal install instead of cabal install Agda) or You can try to install Agda (including a compiled Emacs mode) by running the following command: make install Note that on a Mac, because ICU is com/agda/agda-stdlib] and brings its contents into scope. • A module exporting a function main : IO a can be compiled to a standalone executable. For example: main = run (putStrLn "Hello, World!") runs the0 码力 | 297 页 | 375.42 KB | 2 年前3
Agda User Manual v2.5.4.2reinstall the Agda mode without recompiling the Emacs Lisp files, then Emacs may continue using the old, compiled files. ## Prebuilt Packages and System-Specific Instructions ## Arch Linux The following prebuilt Follow the instructions for installing Agda from Hackage or You can try to install Agda (including a compiled Emacs mode) by running the following command: make install ## I nstallation Flags When installing Old Syntax - Pattern Synonyms - Overloading - Positivity Checking - The NO POSitivity CHECK pragma - POLARITY pragmas - Postulates - Postulated built-ins - Pragmas - Index of pragmas -0 码力 | 216 页 | 207.61 KB | 2 年前3
Agda User Manual v2.5.4.1reinstall the Agda mode without recompiling the Emacs Lisp files, then Emacs may continue using the old, compiled files. ## Prebuilt Packages and System-Specific Instructions ## Arch Linux The following prebuilt Follow the instructions for installing Agda from Hackage or You can try to install Agda (including a compiled Emacs mode) by running the following command: make install ## I nstallation Flags When installing Old Syntax - Pattern Synonyms - Overloading - Positivity Checking - The NO POSitivity CHECK pragma - POLARITY pragmas - Postulates - Postulated built-ins - Pragmas - Index of pragmas -0 码力 | 216 页 | 207.64 KB | 2 年前3
Agda User Manual v2.5.4reinstall the Agda mode without recompiling the Emacs Lisp files, then Emacs may continue using the old, compiled files. ## Prebuilt Packages and System-Specific Instructions ## Arch Linux The following prebuilt Follow the instructions for installing Agda from Hackage or You can try to install Agda (including a compiled Emacs mode) by running the following command: make install ## I nstallation Flags When installing Old Syntax - Pattern Synonyms - Overloading - Positivity Checking - The NO POSitivity CHECK pragma - POLARITY pragmas - Postulates - Postulated built-ins - Pragmas - Index of pragmas -0 码力 | 216 页 | 207.63 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













