feat: monad instance, some classfile constant-pool parsing

This commit is contained in:
vegowotenks 2025-07-11 20:00:30 +02:00
parent a4b5b06000
commit f504462d3c
13 changed files with 153 additions and 6 deletions

View file

@ -25,9 +25,14 @@ source-repository head
library
exposed-modules:
Data.Hex
Language.Java.Classfile
Language.Java.Classfile.ConstantPool
Language.Java.Classfile.ConstantPool.Entry
Language.Java.Classfile.ConstantPool.References
Language.Java.Classfile.Extract
Language.Java.Classfile.Extractable
Language.Java.Classfile.Extractable.WithTag
Language.Java.Classfile.FromBigEndian
Language.Java.Classfile.Magic
Language.Java.Classfile.Version
@ -39,7 +44,8 @@ library
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
base >=4.7 && <5
array
, base >=4.7 && <5
, bytestring
default-language: Haskell2010
@ -53,7 +59,8 @@ executable java-classfile-exe
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
array
, base >=4.7 && <5
, bytestring
, java-classfile
default-language: Haskell2010
@ -69,7 +76,8 @@ test-suite java-classfile-test
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
array
, base >=4.7 && <5
, bytestring
, java-classfile
default-language: Haskell2010