from Data.Func import $
manageShares :: [MTaskShare] -> Task ()
-manageShares shares = forever (enterChoice "Choose share to update" [ChooseFromGrid id] shares
+manageShares shares = forever (enterChoice "Choose share to update" [ChooseFromGrid id] shares)
+ @! ()
+
+
+
+/*
+ forever (enterChoice "Choose share to update" [ChooseFromGrid id] shares
>&^ \st->whileUnchanged st $ \msh->case msh of
Nothing = viewShares shares @! zero
Just sh = forever (
>>= updateShare sh
)
- ) @! ()
+ ) @! ()*/
updateShare :: MTaskShare a -> Task MTaskShare | toByteCode, iTask a
updateShare sh=:{withTask,identifier} a = getDeviceByName withTask