Wash the beans and soak them in water for at least 3 hours, or overnight.
Drain the beans. Measure out the water in a pot, add the soaked beans to the pot, and bring to a boil. From there, leave to simmer for 45 minutes to an hour (30 - 40 minutes if the beans were soaked overnight).
When the beans are cooked to your desired texture (I like mine super mushy in a thick soup), add in the sugar and stir until dissolved. Then add the coconut milk and pandan leaves if you have them.
Serve in a bowl, with coconut milk drizzled on top. Enjoy (in bed or otherwise)!