would it be wrong to cook dahl in a rice cooker and why (not)?

@hdv@front-end.social

would it be wrong to cook dahl in a rice cooker and why (not)?