File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ common pkg
32
32
App.Widgets.Main
33
33
App.Widgets.Menu
34
34
App.Widgets.Templates
35
+ App.Xlsx
35
36
36
37
ghc-options :
37
38
-Werror -Weverything -Wno-all-missed-specialisations
@@ -116,6 +117,7 @@ common pkg
116
117
, syb
117
118
, text
118
119
, uglymemo
120
+ , xlsx
119
121
120
122
if os(wasi)
121
123
build-depends : jsaddle-wasm
Original file line number Diff line number Diff line change
1
+ module App.Xlsx (newXlsx ) where
2
+
3
+ import Codec.Xlsx
4
+ import Functora.Miso.Prelude
5
+ import Lens.Micro ((?~) )
6
+
7
+ newXlsx :: Xlsx
8
+ newXlsx =
9
+ def & atSheet " List1" ?~ sheet
10
+ where
11
+ sheet =
12
+ def
13
+ & cellValueAt (1 , 2 )
14
+ ?~ CellDouble 42.0
15
+ & cellValueAt (3 , 2 )
16
+ ?~ CellText " foo"
Original file line number Diff line number Diff line change 175
175
ver = "0.3.2.0" ;
176
176
sha256 = "EziiFX/1e105Y7zbO0DLwF6yCzYv4IX/vF9l7B55o7Y=" ;
177
177
} { } ) ;
178
+ network = self . callHackageDirect {
179
+ pkg = "network" ;
180
+ ver = "3.1.2.6" ;
181
+ sha256 = "PAnsrKV2vRXJaMQrBFlL2dZQe9i13bEGb/maIjJF2sM=" ;
182
+ } { } ;
183
+ socks = self . callHackageDirect {
184
+ pkg = "socks" ;
185
+ ver = "0.6.1" ;
186
+ sha256 = "Iqkmih5QFqxPTY2k1IeSXr+VKXwZos86hYAL0Vh6oBw=" ;
187
+ } { } ;
188
+ connection = self . callHackageDirect {
189
+ pkg = "connection" ;
190
+ ver = "0.3.1" ;
191
+ sha256 = "wMfrtQkkOqtFbz6apiztg6KOKp8Wfs2Otuvr3p34TWI=" ;
192
+ } { } ;
193
+ websockets = doJailbreak ( self . callHackageDirect {
194
+ pkg = "websockets" ;
195
+ ver = "0.12.7.3" ;
196
+ sha256 = "zQY5xQclPNZk7b14ut6Wzcgaolkx+brOxDO5FrZAzk8=" ;
197
+ } { } ) ;
178
198
secp256k1-haskell = self . callHackageDirect {
179
199
pkg = "secp256k1-haskell" ;
180
200
ver = "0.6.1" ;
You can’t perform that action at this time.
0 commit comments