blob: dea5556f6657d2264afd12ed3044a3b0654aca67 (
plain)
1
2
3
4
5
6
7
|
(define-module (modules utils merge-instructions)
#:use-module (srfi srfi-1)
#:export (merge-instr))
(define (merge-instr lst)
(append-map (lambda (x) (if (list? (car x)) x (list x))) lst))
|