[Agda] Agda beginner

mukesh tiwari mukeshtiwari.iiitm at gmail.com
Wed Jan 16 23:02:48 CET 2013

Hello all
I started learning agda and installed gnu-emacs
24.2 and I followed all the instructions given of
aquamacs and library installation ( Currently I am not trying to
import any library ). I have written this small code  Test.agda

Module Test

data Bool : Set where
  true : Bool
  false : Bool

I am not getting any syntax highlights and when I am opening this file (
C-f C-x )  , getting errors

File mode specification error: (file-error "Searching for program" "No such
file or directory" "agda") [2 times]
(No changes need to be saved)
Starting agda process `agda'.
apply: Searching for program: No such file or directory, agda
progn: Another command is currently in progress
(if a command has been aborted you may want to restart Agda)

I am using ghc-7.6.1 , Agda-2.3.2 and mtl-2.1.2 ( After bit of searching I
got this post https://lists.chalmers.se/pipermail/agda/2012/004675.html but
the problem was mtl-2.1 which is not in my case ).  My .emacs file
configuration is

; sane path
(setq path
 (setenv "PATH" path)

(load-file (let ((coding-system-for-read 'utf-8))
                (shell-command-to-string "agda-mode locate")))

(put 'downcase-region 'disabled nil)

Kindly tell me how to resolve this issue.

Mukesh Tiwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.chalmers.se/pipermail/agda/attachments/20130117/77450339/attachment.html

More information about the Agda mailing list