coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: karsar <karen.sarkisyan AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] How to add file locations for Require Import? (CoqIde)
- Date: Sun, 20 Aug 2017 14:35:35 +0800
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=karen.sarkisyan AT gmail.com; spf=Pass smtp.mailfrom=karen.sarkisyan AT gmail.com; spf=None smtp.helo=postmaster AT mail-oi0-f46.google.com
- Ironport-phdr: 9a23:v9B1kxeGt80CBxzQ0VmNKVJmlGMj4u6mDksu8pMizoh2WeGdxc2/YR7h7PlgxGXEQZ/co6odzbGJ4+a9ASQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpW1aJhKqPg1sY+/xB4T6jsKt1un09YeATR9PgW++aKlpJQ/++QbYrMQQx5BrMKUw0QrApFNHfu1XwSVjIlfFzEW03du54JM2q3cYgPkm7cMVCag=
You'll need to read "1.6.3 Installation and Emacs Set-Up" from Chapter 1 (Introduction) in Cpdt book and do all the steps beyond unzipping.
There is an easy way to experiment with code in your browser as well.
At https://x80.org/collacoq/ you need to click on Packages (right and down at the page)
to load required packages, like cpdt, cor-arith, coq-base...
Then, to import all you need, just do:
From Coq Require Import Bool.Bool Arith.Arith Lists.List.
From Cpdt Require Import CpdtTactics.
Set Implicit Arguments.
Set Asymmetric Patterns.
Set Asymmetric Patterns.
Hope this is useful.
Best,
Karen Sargsyan
On Sun, Aug 20, 2017 at 1:43 PM, Manny Romero <mannyromero AT mail.com> wrote:
Hello! Apologies if this isn't the appropriate mailing list; I couldn't find a Coq beginners' list anywhere.I am someone who is ignorant of the most basic aspects of computers who is getting started with Coq. I have installed the CoqIde 8.4pl4 on Linux Mint 18 and used it successfully with some simple tutorials.Now, however, I am trying to use the textbook **Adam Chlipala** ( http://adam.chlipala.net/cpdt/ ); and, as explained at the beginning of Chapter 2, it requires me to "Require Import" various files to follow along with the texts and do the exercises. Specifically, I must:Require Import Bool Arith List Cpdt.CpdtTactics.
Set Implicit Arguments.
Set Asymmetric Patterns.Cpdt.CpdtTactics is among the files available for download on the Chlipala website. I downloaded all the files and "unzipped" them into a subfolder I made within my folder /home/mannyromero/Downloads; but that is not among the locations I see when I enter "Print LoadPath" into the CoqIde, which I assume is why I get a message "Error: Cannot find library Cpdt.CpdtTactics in loadpath" when I try to Require Import as above.What do I do to add the location of the Cpdt.CpdtTactics file to the CoqIde's list somehow so that I can Require Import it and proceed with the textbook exercises?Or, if this is off topic or inappropriate, apologies and can someone direct me to a better community to ask this question?
- [Coq-Club] How to add file locations for Require Import? (CoqIde), Manny Romero, 08/20/2017
- Re: [Coq-Club] How to add file locations for Require Import? (CoqIde), karsar, 08/20/2017
- Re: [Coq-Club] How to add file locations for Require Import? (CoqIde), Manny Romero, 08/20/2017
- Re: [Coq-Club] How to add file locations for Require Import? (CoqIde), karsar, 08/20/2017
- Re: [Coq-Club] How to add file locations for Require Import? (CoqIde), Gaetan Gilbert, 08/20/2017
- Re: [Coq-Club] How to add file locations for Require Import? (CoqIde), Manny Romero, 08/20/2017
- Re: [Coq-Club] How to add file locations for Require Import? (CoqIde), karsar, 08/20/2017
Archive powered by MHonArc 2.6.18.