[Agda] trouble with let and where

Sergei Meshveliani mechvel at botik.ru
Thu Nov 26 14:41:45 CET 2015


On Thu, 2015-11-26 at 16:07 +0300, effectfully wrote:
> Also, could someone say why it's not possible to `postulate' in a
> let-declaration?
> 

    postulate foo : Foo

does not work under `let'. Instead it works 

    foo : Foo
    foo = anything

where  anything  is declared globally as 

  postulate anything : ∀ {a} {A : Set a} → A               

Regards,

------
Sergei
 



More information about the Agda mailing list