definy.apply-module-changes
- description
- Apply the module changes of definy_create_snapshot in order
- type
Fn(modules: List<@core.project-snapshot-module>, changes: List<@definy.mcp-module-change>) -> Union{#ok(List<@core.project-snapshot-module>), #error(String)}
- expression
fn(modules$0, changes$1) => @core.list-fold( T: @definy.mcp-module-change, A: Union{#ok(List<@core.project-snapshot-module>), #error(String)}, reducer: fn(acc$2, item$3) => match $2 { #error(message$4) => #error($4), #ok(modules$5) => @definy.apply-module-change(modules: $5, change: $3) }, init: #ok($0), xs: $1 )
- visibility
- public
definy.apply-module-changes (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo) id: szTA5tiJGm6YD3tthbka33wOolpB-2yKQI9BD1un2A0 content hash: LiEoaqrq6GFMWuEq41OodV2jmU49BQVplIpe1cAhfVA