Skip to content

Commit

Permalink
address todo re: try-order
Browse files Browse the repository at this point in the history
  • Loading branch information
countvajhula committed Jan 7, 2023
1 parent 678fff9 commit 2b8c352
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qi-sdk/profile/report.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@
display-table))

(program (main)
;; TODO: could use try-order? with hash-keys if support is dropped for Racket 8.3
(define fs (~>> (env) hash-keys (sort <)))
(define fs (hash-keys env #t))
(define forms-data (for/list ([f (in-list fs)])
(match-let ([(list name ms) ((hash-ref env f))])
(hash 'name name 'unit "ms" 'value ms))))
Expand Down

0 comments on commit 2b8c352

Please sign in to comment.