agda2hs icon indicating copy to clipboard operation
agda2hs copied to clipboard

Compiling Agda code to readable Haskell

Results 83 agda2hs issues
Sort by recently updated
recently updated
newest added

Add support for maps and sets

enhancement

```agda not0 : Int → Bool not0 n = n /= 0 {-# COMPILE AGDA2HS not0 #-} ``` generates ```haskell import qualified Prelude ((/=)) not0 :: Int -> Bool not0...

bug

Now, agda2hs skips every Agda file for which the corresponding Haskell file is newer _than the `.agdai` file_. For this, I had to replace the `moduleFileName` function from Render.hs and...

Writing functions with pattern guards is idiomatic in Haskell, but it is currently not supported by agda2hs. I can think of two ways this could be supported: 1. We translate...

enhancement

Bug reported by @liesnikov. ```agda private variable @0 a : Set Ap : (p : @0 a → Set) → @0 a → Set Ap p x = p x...

bug

This is the remaining issue with parametrized modules after the merging of https://github.com/agda/agda2hs/pull/307: ```agda record Class (a : Set) : Set where field foo : a → a open Class...

bug

When defining an unboxed record, one gets to define new instances for type classes on the Agda side. Those instances never get compiled, and code that uses instances over boxed...

enhancement
help wanted
error-reporting