Skip to content

Commit

Permalink
Merge pull request #1083 from fice-t/haskell-package
Browse files Browse the repository at this point in the history
Define haskell-package struct's slots
  • Loading branch information
gracjan committed Jan 15, 2016
2 parents ef3e9df + 544ce80 commit dbe0ef6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion haskell-package.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@
name
version))))

(cl-defstruct haskell-package "Haskell package object.")
;; Haskell package object
(cl-defstruct haskell-package
name version id license copyright maintainer stability homepage
package-url description categories authors is-exposed
exposed-modules hidden-modules imports-dirs library-dirs
haskell-libraries extra-libraries extra-ghci-libraries include-dirs
includes depends hugs-options cc-options ld-options framework-dirs
frameworks haddock-interfaces haddock-html)

(defun haskell-package-parse (text)
"Parse a package into a package object."
Expand Down

0 comments on commit dbe0ef6

Please sign in to comment.