definy.merge-flatten
- description
- The parts of all modules of a snapshot
- type
Fn(modules: List<@core.project-snapshot-module>) -> List<@definy.merge-flat-part>
- expression
fn(modules$0) => @core.list-fold( T: @core.project-snapshot-module, A: List<@definy.merge-flat-part>, reducer: fn(acc$1, item$2) => @core.list-concat( left: $1, right: @core.list-map( T: @core.module-snapshot-part, U: @definy.merge-flat-part, f: fn(item$3) => {module: $2.name, name: $3.name, content_hash: $3.content_hash}, xs: $2.parts ) ), init: [], xs: $0 )
- visibility
- public
definy.merge-flatten (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo) id: vUqnMdKRjFt7S-KH9GcVAU2SsPfJbEcnk66fI0fjigU content hash: 6WL31Sojmb_5QQTwxhfmQx287ELJsiOO82Y0EPwJIw8