Why TaskNode *and* TNode? Why not just TaskNode? And the indentation is wrong.
You mean create a PNode object with the specified values for Number, TDone
and TLeft? Write a constructor function...
and list operations.
Assign what to what?
Write specialised constructor and/or update operations.
Yes, please try to be more rigourous and write better Ada style.
Also, an English (but correct) description of the ADT you want to write might
assist both yourself and us. Remember an ADT is essentially a set of
operations. The auxiliary types and components follow. Think topdown.
If the focus of this homework is scheduling and not lists consider using an
existing, tried and true, list library, e.g. Charles. Even if the focus is
lists, studying the source code of such a library would help. However if you
have not learnt generics yet, and don't want to just now, forget this last
(It's always nice to see homework efforts on CLA. It's a sign Ada is being
taught. However--and this may be the paranoid in me--I tend to interpret some
details as weaknesses of the instruction side. For example, the style. If
someone is in a condition to ease my mind, please do. For what it matters,
I've been an Ada instructor myself.)