Building library for cointracking-imports-0.1.0.1.. [100/196208]
[2 of 3] Compiling Web.CoinTracking.Imports
/var/stackage/work/unpack-dir/unpacked/cointracking-imports-0.1.0.1-d3824ff54309620e0c8c1d497ec4c36a7c6e8191800662d1aa36c84bc3512b37
/src/Web/CoinTracking/Imports.hs:145:45: error: • Couldn't match expected type ‘Codec.Xlsx.Types.Common.ColumnIndex’
with actual type ‘Int’
• In the expression: c
In the first argument of ‘cellValueAt’, namely ‘(2, c)’
In the first argument of ‘(?~)’, namely ‘cellValueAt (2, c)’
|
145 | writeColumn c t s = s & cellValueAt (2, c) ?~ CellText t
| ^
/var/stackage/work/unpack-dir/unpacked/cointracking-imports-0.1.0.1-d3824ff54309620e0c8c1d497ec4c36a7c6e8191800662d1aa36c84bc3512b37
/src/Web/CoinTracking/Imports.hs:152:25: error:
• Couldn't match expected type ‘Codec.Xlsx.Types.Common.RowIndex’
with actual type ‘Int’
• In the expression: row
In the first argument of ‘cellValueAt’, namely ‘(row, 1)’
In the first argument of ‘(?~)’, namely ‘cellValueAt (row, 1)’
|
152 | & (cellValueAt (row, 1) ?~ CellText (renderTransactionType ctidType))
| ^^^
/var/stackage/work/unpack-dir/unpacked/cointracking-imports-0.1.0.1-d3824ff54309620e0c8c1d497ec4c36a7c6e8191800662d1aa36c84bc3512b37
/src/Web/CoinTracking/Imports.hs:153:25: error:
• Couldn't match expected type ‘Codec.Xlsx.Types.Common.RowIndex’
with actual type ‘Int’
• In the expression: row
In the first argument of ‘cellValueAt’, namely ‘(row, 2)’
In the first argument of ‘(.~)’, namely ‘cellValueAt (row, 2)’
|
153 | & (cellValueAt (row, 2) .~ renderAmount ctidBuy)
| ^^^
/var/stackage/work/unpack-dir/unpacked/cointracking-imports-0.1.0.1-d3824ff54309620e0c8c1d497ec4c36a7c6e8191800662d1aa36c84bc3512b37
/src/Web/CoinTracking/Imports.hs:154:25: error:
• Couldn't match expected type ‘Codec.Xlsx.Types.Common.RowIndex’
with actual type ‘Int’
• In the expression: row
In the first argument of ‘cellValueAt’, namely ‘(row, 3)’
:
Noticed in the Stackage Nightly build: