mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
cleanup
This commit is contained in:
parent
e6019a1eca
commit
96414cb03f
5 changed files with 2 additions and 9 deletions
|
@ -653,8 +653,6 @@ mod test {
|
|||
Ident::from("List"),
|
||||
Ident::from("Ok"),
|
||||
Ident::from("Err"),
|
||||
// Ident::from("Dict"),
|
||||
// Ident::from("Set"),
|
||||
Ident::from("Box"),
|
||||
]
|
||||
);
|
||||
|
@ -680,8 +678,6 @@ mod test {
|
|||
Ident::from("List"),
|
||||
Ident::from("Ok"),
|
||||
Ident::from("Err"),
|
||||
// Ident::from("Dict"),
|
||||
// Ident::from("Set"),
|
||||
Ident::from("Box"),
|
||||
]
|
||||
);
|
||||
|
|
|
@ -18,8 +18,6 @@ pub fn eq_generic<'a>(
|
|||
ctx: &mut Context<'a>,
|
||||
layout: Layout<'a>,
|
||||
) -> Stmt<'a> {
|
||||
let _eq_todo = || todo!("Specialized `==` operator for `{:?}`", layout);
|
||||
|
||||
let main_body = match layout {
|
||||
Layout::Builtin(Builtin::Int(_) | Builtin::Float(_) | Builtin::Bool | Builtin::Decimal) => {
|
||||
unreachable!(
|
||||
|
|
|
@ -103,7 +103,6 @@ pub fn refcount_generic<'a>(
|
|||
structure: Symbol,
|
||||
) -> Stmt<'a> {
|
||||
debug_assert!(is_rc_implemented_yet(&layout));
|
||||
let _rc_todo = || todo!("Please update is_rc_implemented_yet for `{:?}`", layout);
|
||||
|
||||
match layout {
|
||||
Layout::Builtin(Builtin::Int(_) | Builtin::Float(_) | Builtin::Bool | Builtin::Decimal) => {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
interface AStar
|
||||
exposes [findPath, Model, initialModel, cheapestOpen, reconstructPath]
|
||||
imports [Quicksort, Dict.{ Dict }, Set.{ Set }]
|
||||
imports [Quicksort]
|
||||
|
||||
findPath = \costFn, moveFn, start, end ->
|
||||
astar costFn moveFn end (initialModel start)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
app "test-astar"
|
||||
packages { pf: "platform/main.roc" }
|
||||
imports [pf.Task, AStar, Dict.{ Dict }, Set.{ Set }]
|
||||
imports [pf.Task, AStar]
|
||||
provides [main] to pf
|
||||
|
||||
main : Task.Task {} []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue