Next: decode, Previous: encode, Up: Serialize and deserialize
Serialize a value into a file. For settings you can use haskellStyle or rustStyle or compactStyle
encodeFile :: ToRon a => SerializeSettings -> FilePath -> a -> IO ()