Skip to content

kanigsson/leftpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leftpad implementation and proof in SPARK

This small example shows the implementation and proof of Leftpad in SPARK, to answer this challenge.

You can verify the proof using SPARK as follows:

$ gnatprove -P test --report=all

and compile and run the simple test case as follows using GNAT Pro:

$ gprbuild -p -P test
$ ./obj/test_padding

About

Leftpad implementation in SPARK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages