Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix decimal rounding. Improve blockly FFI structure
- Loading branch information
Showing
8 changed files
with
227 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<!-- | ||
A new scriv changelog fragment. | ||
Uncomment the section that is right (remove the HTML comment wrapper). | ||
--> | ||
|
||
<!-- | ||
### Removed | ||
- A bullet item for the Removed category. | ||
--> | ||
<!-- | ||
### Added | ||
- A bullet item for the Added category. | ||
--> | ||
<!-- | ||
### Changed | ||
- A bullet item for the Changed category. | ||
--> | ||
<!-- | ||
### Deprecated | ||
- A bullet item for the Deprecated category. | ||
--> | ||
### Fixed | ||
|
||
- currency/decimal fields behavior | ||
|
||
- FFI structure of blockly related modules | ||
|
||
<!-- | ||
### Security | ||
- A bullet item for the Security category. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
module Blockly.DateTimeField where | ||
|
||
import Prelude | ||
|
||
import Blockly.Types (Blockly) | ||
import Effect (Effect) | ||
import Effect.Uncurried (EffectFn1, runEffectFn1) | ||
|
||
foreign import registerDateTimeFieldImpl :: EffectFn1 Blockly Unit | ||
foreign import data FieldDateTime :: Type | ||
|
||
foreign import registerDateTimeFieldImpl :: EffectFn1 Blockly FieldDateTime | ||
|
||
registerDateTimeField :: Blockly -> Effect Unit | ||
registerDateTimeField :: Blockly -> Effect FieldDateTime | ||
registerDateTimeField = runEffectFn1 registerDateTimeFieldImpl | ||
|
Oops, something went wrong.